{% extends 'events/management/base.html' %} {% from '_switch.html' import switch %} {% from 'message_box.html' import message_box %} {% from 'forms/_form.html' import form_header, form_footer, form_rows %} {% from '_sortable_list.html' import sortable_lists %} {% block title %} {%- trans %}Participants display{% endtrans -%} {% endblock %} {% block description %} {% trans -%} Customize how the registrations are shown on the participant list page. {%- endtrans %} {% endblock %} {% block content %} {{ form_header(form, id='js-participant-display-form') }} {{ form_rows(form) }} {% if not regforms %}
{% trans %}There are no registration forms for this event.{% endtrans %}
{% trans %}Start by creating a registration form.{% endtrans %}
{% endif %}
{{ switch(id='merge-forms', name='merge-forms', checked=merge_forms) }}
{% trans %}Show all the registrations together, regardless of which form they came from.{% endtrans %}

{% trans -%} Select which registration form will have its entries published in the participant list. {%- endtrans %}

{{ sortable_lists(_("Shown registration forms"), enabled_forms|sort(attribute='title'), _("Hidden registration forms"), disabled_forms|sort(attribute='title'), classes="i-box titled disable-if-locked", draggable=false) }}

{% trans -%} By dragging the column titles, you can choose which fields to display and reorder them. Custom fields added to registration forms can only be shown if the registration forms are not merged. {%- endtrans %}

{{ sortable_lists(_("Shown columns"), enabled_columns, _("Hidden columns"), disabled_columns, classes="i-box titled two-columns js-participant-list-columns disable-if-locked") }}

{% trans -%} By dragging the form titles, you can choose which to display and reorder them. {%- endtrans %}

{% call(form) sortable_lists(_("Shown registration forms"), enabled_forms, _("Hidden registration forms"), disabled_forms, classes="i-box titled disable-if-locked") %} {% endcall %}
{% call form_footer(form, align_right=true) %} {% trans %}Back{% endtrans %} {% endcall %} {% endblock %}