{% extends 'events/management/base.html' %} {% from 'forms/_form.html' import simple_form %} {% block title %} {%- trans %}Participants{% endtrans -%} {% endblock %} {% block content %}
{% if regform and not registration_enabled %} {{ render_feature_disabled() }} {% elif not regform %} {{ render_no_regform() }} {% endif %}
{% if not regform %} {{ simple_form(form, fields=form._meeting_fields, submit=_('Create'), disabled_until_change=false, back_button=false) }} {% endif %} {% endblock %} {% macro render_feature_disabled() %}
{% trans %}The registration feature is disabled{% endtrans %}
{% trans -%} Participants are now handled through a registration form. {%- endtrans %}
{% trans %}Enable{% endtrans %}
{% endmacro %} {% macro render_no_regform() %}
{% trans %}There is no registration form for participants{% endtrans %}
{% trans -%} To create a new registration form, specify the participant visibility settings below. These settings can only be changed while there are no registrations. {%- endtrans %}
{% endmacro %}