The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Strehler::FormFu::Element::SubmitBlockMulti - FormFu Element for Strehler generic submit buttons.

DESCRIPTION

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

SYNOPSIS

In article form:

    - type: "+Strehler::FormFu::Element::SubmitBlockMulti"

PARAMETERS

actions

A list of actions. Each action will be a button.

GENERATED HTML

    <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>

YAML CONFIGURATION

There isn't a YAML configuration. Button configuration is hard-coded in the class