{% extends "base.html" %} {% block title %}{{ _('Forms') }} · {{ appearance.name }}{% endblock %} {% block content %}

{{ _('Forms') }}

{% for form, count, level in forms %} {% set state = fill_state(form) %} {% else %} {% endfor %}
{{ _('Title') }}{{ _('Status') }}{{ _('Answers') }}{{ _('Last changed') }}
{{ form.title }} {% if level == 1 %}{{ _('Evaluator') }}{% elif level == 2 %}{{ _('Co-editor') }}{% endif %} {{ _(status_names[state]) }} {{ count }} {{ form.updated_at | datetime }}
{{ _('No forms yet.') }}
{% if trash or trash_error %}

{{ _('Trash') }}

{% if trash_error %}{% endif %}

{{ _('Deleted forms can be restored with all questions and answers until the date shown. After that they are deleted for good.') }}

{% if trash %} {% for t in trash %} {% endfor %}
{{ _('Title') }}{{ _('Answers') }}{{ _('Deleted') }}{{ _('Restorable until') }}
{{ t.entry.title }}{% if t.entry.extra.get('is_template') %} {{ _('Template') }}{% endif %} {{ t.entry.responses }} {{ t.entry.deleted_at | datetime }} {{ t.expires | date }}
{{ csrf_field(request) }}
{% endif %}
{% endif %} {% if can_create %} {% if templates %}

{{ _('Templates') }}

{% endif %}

{{ _('New form') }}

{% if error %}{% endif %}
{{ csrf_field(request) }} {% if group_choices %}

{% if group_required %}{{ _('The form belongs to this group and is shared with it at first. Its group administrators manage it too.') }}{% else %}{{ _('Optional. Group administrators of the chosen group manage the form too.') }}{% endif %}

{% endif %}
{% endif %} {% endblock %}