{% extends "arnold/tabs.html" %} {% load crispy_forms_tags %} {% block tabcontent %} {% comment %} List all existing justifications {% endcomment %}
{% if justifications %} {% for justification in justifications %} {% endfor %} {% endif %}
Existing reasons for detention
Reason Description    
{{ justification.name }} {{ justification.description }} Edit {% if justification.deletable %} Delete {% else %}   {% endif %}
{% comment %} Form for creating new justifications {% endcomment %}
{% crispy form %}
{% endblock %}