Strehler::FormFu::Element::SubmitBlockMulti - FormFu Element for Strehler generic submit buttons.
Extension for Strehler::FormFu::Element::SubmitBlock.
Allow configurations with one, two or three buttons, chosen from the actions available in Strehler forms:
submit-go: submit and return to list page
submit-continue: submit and stay on the edit page
submit-publish: submit and return to list page publishing the content
In article form:
- type: "+Strehler::FormFu::Element::SubmitBlockMulti"
A list of actions. Each action will be a button.
<fieldset> <button value="submit-go" type="submit" name="strehl-action" class="btn btn-primary span3"> Submit </button> <button value="submit-continue" type="submit" name="strehl-action" class="btn btn-info span3"> Submit and Continue </button> </fieldset>
There isn't a YAML configuration. Button configuration is hard-coded in the class
To install Strehler, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Strehler
CPAN shell
perl -MCPAN -e shell install Strehler
For more information on module installation, please visit the detailed CPAN module installation guide.