view default/input/form.html @ 139:909361c96a58

components (common/menu): fixed "List tickets" sub menu
author Goffi <goffi@goffi.org>
date Fri, 01 Jun 2018 12:46:08 +0200
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 %}