view sat_templates/default/input/form.html @ 148:a4b6b8b6fc58

installation (setup.py, i18n): moved i18n directory to sat_templates + removed data_files which is not used anymore
author Goffi <goffi@goffi.org>
date Sun, 03 Jun 2018 09:00:04 +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 %}