view sat_templates/templates/default/input/form.html @ 399:e7152fc8a81f default tip

bulma (components/search_item): explicitely import "avatar".
author Goffi <goffi@goffi.org>
date Thu, 06 Jun 2024 15:22:22 +0200
parents e9f0a4215e46
children
line wrap: on
line source

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