Mercurial > libervia-templates
view sat_templates/default/input/form.html @ 160:4248e0a6bc6b
Added tag 0.7.0a1 for changeset 8c88aca13d96
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 04 Jul 2018 07:40:45 +0200 |
parents | b84d20af0ed3 |
children |
line wrap: on
line source
{% macro form(action='', class='') %} <form method="post" action="{{action}}" {{ {'class': class}|xmlattr }} {{kwargs|xmlattr}} > {% if csrf_token is defined %} <input type="hidden" name="csrf_token" value="{{csrf_token}}"> {% endif %} {{ caller() }} </form> {% endmacro %}