{% for tpl in templates | sort(attribute='title') %}
{% set different_size = tpl.data.width != width or tpl.data.height != height %}
{% set linked_to_same_regform = not tpl.registration_form or not current_template.registration_form or tpl.registration_form == current_template.registration_form %}
{% endif %}
{% endmacro %}
{% block description %}
{%- trans -%}
The following badge templates can be used as the back side for your template. Note that only single-sided
templates with the same dimensions can be used as the back side of a template.
{%- endtrans -%}
{%- endblock %}
{% block content %}