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

Form.open

$form.open($htmlAttributes = {}) -> HtmlString

Description

Create the opening <form> tag for the form and mark it as open.

tm formHtml($form) {

    {{ $form.open() }}

    ...

    {{ $form.close() }}
}

Form Action 

By default, the action parameter will point to the current page.

To point to a different URL, you can use an HTML attribute.

{{ $form.open({ action: url'/login' }) }}

See Also