
{% extends "base.html" %}


{% block content %}
    <h2>Add Self Review</h2>
    <div class="alert alert-info" role="alert">
        Adding self feedback for {{user_exam.exam}}/{{case}}
        
    </div>
    This form allows you to record your own feedback for the question / case. This can take the form of a note or a ranking (1-5) of your findings and interpretation.
    <form class="highlight" action="" method="post">
        {% csrf_token %}
        {{ form.non_field_errors }}

        {{ form }}
{% comment %}         <div class="fieldWrapper">
            {{ form.content_type.errors }}
            {{ form.content_type }}
        </div>
        <div class="fieldWrapper">
            {{ form.object_id.errors }}
            {{ form.object_id }}
        </div>
        <div class="fieldWrapper">
            {{ form.note_type.errors }}
            <label for="{{ form.note_type.id_for_label }}">Note type</label>
            {{ form.note_type }}
        </div>
        <div class="fieldWrapper">
            {{ form.note.errors }}
            <label for="{{ form.note.id_for_label }}">Additional information</label><br/>
            {{ form.note }}
        </div> {% endcomment %}
        <input type="submit" value="Submit">
    </form>
    {% if review %}<br/><a href="{% url 'atlas:self_review_delete' user_exam.id case.id review.id %}"><button>Delete review</button></a>{% endif %}
{% endblock %}
