{% macro search(form, target) %} {% endmacro %} {# At the moment we need to build one form per button # https://github.com/bigskysoftware/htmx/issues/1120 # when this is fixed we will be able to set the page # value directly in the submit button and get rid # of the radius reset #} {% macro buttonform(form, id, page) %}
{{ form.hidden_tag() if form.hidden_tag }} {% if page == null %} {{ caller() }} {% else %} {% endif %}
{% endmacro %} {% macro pagination(form) %}
{{ _("%(nb_items)s items", nb_items=form.nb_items) }}
{% endmacro %}