{% extends 'appoint/layout.html' %} {% block Title %}{{ title }}{% endblock %} {% block HeaderTitle %} Back to appointments {% endblock %} {% block BodyContent %}

Make appointment at:

{{ appoint.date|date:"j N Y" }}
{{ appoint.start_time|time:"H:i" }} - {{ appoint.end_time|time:"H:i" }}

Doctor:

{{ appoint.doctor.get_full_name }}

{% if appoint.has_not_customer %} {% if not appoint.is_outdated %}

Customer:

{% csrf_token %}

{{ customer.get_full_name }}


{% else %}

Appointment is outdated

{% endif %} {% else %}

Appointment is occupied already

{% endif %} {{ error_text }} Choose another time
{% endblock %}