{% extends "_base.html" %} {% load static %} {% load filters %} {% block styles %} {{ block.super }} {% include "includes/datetimepicker.css.html" %} {% endblock styles %} {% block ui_active_tab %}'workers'{% endblock ui_active_tab %} {% block page_header %}Create new holiday or extra availability for {{ doctor_name }}{% endblock page_header %} {% block page_description %}{% endblock page_description %} {% block title %}{{ block.super }} - Add availability{% endblock %} {% block breadcrumb %} {% include "doctors/breadcrumb.html" %} {% endblock breadcrumb %} {% block maincontent %} {% block content %}
Go back (without changes)
{% csrf_token %}
{% for field in form %}
{{ field|add_class:'form-control' }}
{% if field.errors %} {{ field.errors }} {% endif %}
{% endfor %}
{% endblock %} {% endblock maincontent %} {% block scripts %} {{ block.super }} {% include "includes/datetimepicker.js.html" %} {% endblock scripts %}