view sat_templates/default/input/form.html @ 152:da2c0dc7c1ff

blog/articles: work around for titles
author Goffi <goffi@goffi.org>
date Thu, 21 Jun 2018 01:02:33 +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 %}