{% extends "_base.html" %} {% block ui_active_tab %}'equipment_and_rooms'{% endblock ui_active_tab %} {% block page_header %} Kits required between {{ start_date | date:"Y-m-d" }} and {% if end_date %} {{ end_date | date:"Y-m-d" }} {% else %} end of time {% endif %} {% endblock page_header %} {% block page_description %} {% endblock page_description %} {% block styles %} {{ block.super }} {% include "includes/datepicker.css.html" %} {% endblock styles %} {% block breadcrumb %} {% include "equipment_and_rooms/breadcrumb.html" %} {% endblock breadcrumb %} {% block maincontent %} {% block content %}
{% csrf_token %}
{% for field in form %}
{{ field }}
{% if field.errors %} {{ field.errors }} {% endif %}
{% endfor %}
{% for appointment in appointments %} {% endfor %}
Date Kits Location Person responsible
{{ appointment.datetime_when | date:"Y-m-d H:i" }} {% for type in appointment.appointment_types.all %} {% for item in type.required_equipment.all %} {% if item.disposable %} {{ item.name }}, {% endif %} {% endfor %} {% endfor %} {{ appointment.location }} {{ appointment.worker_assigned }}
{% endblock %} {% endblock maincontent %} {% block scripts %} {{ block.super }} {% include "includes/datepicker.js.html" %} {% endblock scripts %}