view default/input/form.html @ 101:920f03abba53

css (blog): min-height re-adjustment
author Goffi <goffi@goffi.org>
date Sun, 21 Jan 2018 21:08:06 +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 %}