Mercurial > libervia-templates
view default/input/form.html @ 52:87680eed9e25
input(field, form): improved classes + new email field
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 27 Oct 2017 18:54:01 +0200 |
parents | eb9a42fca6c8 |
children |
line wrap: on
line source
{% macro form(action='', class='') %} <form method="post" action="{{action}}" {{ {'class': class}|xmlattr }}> {% if csrf_token is defined %} <input type="hidden" name="csrf_token" value="{{csrf_token}}"> {% endif %} {{ caller() }} </form> {% endmacro %}