{% extends view.base_template|default:"base.html" %} {% load i18n static django_bootstrap5 utils %} {% block content %} {% if participation.status != participation.INVITED %}

{% translate 'Appointments only available for participating subjects' %}

{% endif %} {% if study.session_instructions %} {{ study.session_instructions|urlize|linebreaks }} {% endif %}
{% include 'utils/form_errors.html' with form=form %} {% csrf_token %}
{{ study|verbose_name:'sessions_start' }}
{{ study|verbose_name:'sessions_end' }}
{% for entry in form.appointments %}
{{ entry.legend }}
{% bootstrap_field entry.field wrapper_class="" %} {% if entry.invitation_url == 'error' %} {% translate 'Error while contacting schedule' %} {% elif entry.invitation_url %} {% translate 'Select timeslot for this subject' %} {% endif %}
{% bootstrap_field entry.assigned_conductors %}
{% if entry.reminder_text %}
{{ entry.reminder_text }}
{% endif %} {% if entry.reminders_enabled %}
{% blocktranslate with reminder_period=reminder_period %}The subject will be reminded {{ reminder_period }} days before the appointment.{% endblocktranslate %}
{% endif %}
{% endfor %}
{% translate 'Calendar' %}
{% bootstrap_field form.send_notifications %}
{% endblock %} {% block extra_scripts %} {% endblock %}