Mercurial > libervia-templates
view default/input/form.html @ 73:94b04fba91c7
css (styles): use 800px as media query limit instead of 500px, should fix menu issues on some phones.
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 04 Dec 2017 00:49:35 +0100 |
parents | 87680eed9e25 |
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 %}