{% from 'message_box.html' import message_box %}
{% macro render_template_list(event) %}
{% if event.paper_templates %}
{% trans %}Name{% endtrans %}
{% trans %}Description{% endtrans %}
{# sort by (name,id) to keep consistent order if names are not unique #}
{% for tpl in event.paper_templates|sort(attribute='id')|sort(attribute='name') %}