{% extends "base.html" %} {% load static i18n bootstrap4 %} {% block title %}{% translate "Schedule appointment" %}{% endblock %} {% block content %}

{% blocktranslate with schedule=object.schedule %}Schedule appointment for {{ schedule }}{% endblocktranslate %}

{% csrf_token %} {% bootstrap_form_errors form type='non_fields' %}

{% translate 'Please select one of the available timeslots to make an appointment. You will still be able to change your selection later.' %}

{% for time in table.times %} {% endfor %} {% for date, row in table.timeslots.items %} {% for time, id in row.items %} {% endfor %} {% endfor %}
{{ time }}
{{ date }} {% if id %} {% endif %}
{% endblock %}