view default/input/form.html @ 99:609c66552ba0

blog/item: handle new tags_http_uri variable to make tags clickable
author Goffi <goffi@goffi.org>
date Sun, 21 Jan 2018 20:25:24 +0100
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 %}