{% 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 is none %} {{ caller() }} {% else %} {% endif %}
{% endmacro %} {% macro pagination(form) %}
{% trans nb_items=form.nb_items %} {{ nb_items }} item {% pluralize %} {{ nb_items }} items {% endtrans %}
{% endmacro %}