Mercurial > libervia-templates
view sat_templates/default/input/form.html @ 156:b01b58d06894
css: set max_width for box--medium
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 02 Jul 2018 21:34:28 +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 %}