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

Web.postLink

Web.postLink($label, $actionUrl, $dataMap, $class='') -> HtmlString

Description

Create a link that submits POST form data via hidden form fields, without the use of Ajax.

Parameter Description
$label Text label of the button.
$actionUrl URL of the form action.
$dataMap A Map of input params.
$class (optional) CSS class of the button element.
tem editLinkHtml {
    {{ Web.postLink('Edit', url'/comment/edit', { id: 123 }) }}
}

See Also