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

{{ object.schedule }}

{% csrf_token %} {% include 'form_errors.html' with form=form %}

{% 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 %}