view default/input/form.html @ 47:7d5cca978eeb

input/xmlui: XMLUI generation first draft
author Goffi <goffi@goffi.org>
date Sun, 24 Sep 2017 16:48:15 +0200
parents eb9a42fca6c8
children 87680eed9e25
line wrap: on
line source

{% macro form(action='') %}
<form method="post" action="{{action}}">
    {% if csrf_token is defined %}
        <input type="hidden" name="csrf_token" value="{{csrf_token}}">
    {% endif %}
    {{ caller() }}
</form>
{% endmacro %}