{% extends 'events/management/base.html' %} {% from 'message_box.html' import message_box %} {% from 'forms/_form.html' import form_rows %} {% block title %} {%- trans %}Surveys{% endtrans -%} {% endblock %} {% block description %} {% trans -%} Surveys can be used to make questionnaires for the event and collect people's answers. {%- endtrans %} {% endblock %} {% block content %} {% for survey in surveys %}
{{ survey.title }}
{% if survey.is_active %} {% trans -%} The survey is live. {%- endtrans %} {% elif survey.has_ended %} {% trans -%} The survey finished. {%- endtrans %} {% else %} {% trans -%} The survey is not running. {%- endtrans %} {% endif %}
{% else %} {%- call message_box('info', fixed_width=true) -%} {% trans %}There are no surveys yet.{% endtrans %} {%- endcall %} {% endfor %}
{% endblock %}