view default/input/form.html @ 48:37fd11d71233

base: confirmation message can now be customised using "confirm" blog
author Goffi <goffi@goffi.org>
date Fri, 27 Oct 2017 18:48:41 +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 %}