{% extends exam.app_name|add:"/exams.html" %}

{% load crispy_forms_tags %}

{% block js %}
    {{ form.media }}
{% endblock %}

{% block navigation %}
    {{ block.super }}
    {% if object %}
        {% include object.get_link_headers %}
    {% endif %}

{% endblock navigation %}

{% block content %}
    <h2>Update Exam</h2>
    This form allows you to edit the exam details. To manage candidates head to the <a href="{% url exam.app_name|add:':exam_cids' exam.pk %}">candidates</a> page.
    <form action="" method="post">
        {% csrf_token %}
        <table>
            {{ form|crispy }}
        </table>
        <input type="submit" value="Submit">
    </form>
{% endblock %}

