{% extends "studies/study_recruitmentsettings_base.html" %} {% load static i18n auth bootstrap4 %} {% block title %}{% trans "Sessions" %} · {{ block.super }}{% endblock %} {% block content %}
{% include 'utils/form_errors.html' with form=form %} {% csrf_token %} {% bootstrap_field form.session_instructions %}
{% bootstrap_field form.sessions_start %}
{% bootstrap_field form.sessions_end %}
{{ session_formset.management_form }}
{% for subform in session_formset %}
{{ subform.id.as_hidden }} {{ subform.DELETE.as_hidden }} {% if not readonly %} {% endif %} {% bootstrap_field subform.name %} {% bootstrap_field subform.duration %} {% if has_resources %} {% bootstrap_field subform.resource %} {% else %} {% endif %} {% bootstrap_field subform.type %}
{% endfor %}
{% if not readonly %}
{% endif %} {% if not readonly %}
{% endif %}
{% endblock %} {% block extra_scripts %} {% endblock %}