Mercurial > libervia-templates
view sat_templates/default/input/form.html @ 151:0ec76c1f53d3
components (common/menu): added events menu
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 04 Jun 2018 10:23:19 +0200 |
parents | 33c7ce833d3f |
children | b84d20af0ed3 |
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 %}