Version: v0.7.1 - Beta.  We welcome contributors & feedback.

Form.submitTag

$form.submitTag($submitLabel, $htmlAttributes = {}) -> HtmlString

Description

Create a submit button for the form.

tm formHtml($form) {

    // (other tags)

    {{ $form.submit('Add Comment') }}
    //= '<button type="submit">Add Comment</button>'

}

See Also