{% extends "_base.html" %} {% load static %} {% block styles %} {{ block.super }} {% endblock styles %} {% block ui_active_tab %}'subject types'{% endblock ui_active_tab %} {% block page_header %}Subject types{% endblock page_header %} {% block page_description %}{% endblock page_description %} {% block breadcrumb %} {% include "subject_types/breadcrumb.html" %} {% endblock breadcrumb %} {% block maincontent %}
Add new subject type
{% for subject_type in subject_type_list %} {% endfor %}
Id Name Edit Delete
{{ subject_type.id }} {{ subject_type.name }} {% if subject_type.subject_count == 0 %} {% else %} There are subjects with the type {% endif %}
{% endblock maincontent %} {% block scripts %} {{ block.super }} {% endblock scripts %}