{% extends "studies/base.html" %} {% load i18n static auth bootstrap4 utils %} {% block title %}{% translate "Studies" %} · {{ block.super }}{% endblock %} {% block container_class %}container-lg{% endblock %} {% block content %}
{% for field in form %} {% if field.name != 'q' and field.value %} {{ field.as_hidden }} {% endif %} {% endfor %}
{% translate 'Membership' %}
{% for value, label in form.member.field.choices %} {{ label }} {% endfor %}
{{ form.status.label }}
{% translate 'All' %} {% for value, label in form.status.field.choices %} {{ label }} {% endfor %}
{{ form.type.label }}
{% translate 'All' %} {% for value, label in form.type.field.choices %} {{ label }} {% endfor %} {{ form.is_onetime_invitation.label }}
{% if form.cleaned_data.display == 'calendar' %}
{% else %} {% if is_paginated %} {% endif %} {% endif %}
{% has_perm 'studies.change_study' user as can_add_study %} {% if can_add_study %} {% if CASTELLUM_ENABLE_STUDY_EXPORT %} {% translate "Import study" %} {% endif %} {% translate "Create new study" %}
{% csrf_token %}
{% endif %}
{% endblock %} {% block extra_scripts %} {% endblock %} {% block extra_styles %} {% endblock %}