{% extends "base.html" %} {% block navbar %} {{ grady_says }} {% endblock navbar %} {% block title %} Editing feedback {% endblock %} {% load staticfiles %} {% block body_block %}

{{feedback.of_submission.type.name}}

Download
{# Custom feedback from the compiler #}
Custom Feedback
{% for test in feedback.of_submission.tests.all %} {{test.name}} {{test.annotation}} RESULT: {{test.label}} {% endfor %}
{# A sample solution #}
Sample Solution
{{feedback.of_submission.type.possible_solution}}
{% include "core/component/feedback_card.html" with unique="1" header="Description" content=feedback.of_submission.type.task_description expanded="hide" %}

Please provide your feedback

{% csrf_token %}
{# Score field #}
Score:
{# status select #} {% with form.fields.status as status %}
{% endwith %} {# Beware! compares status and origin #} {% if feedback.status == feedback.NEEDS_REVIEW or feedback.status == feedback.EDITABLE %} {% endif %} {% if feedback.origin != feedback.MANUAL %} Delete auto feedback {% endif %} {% if feedback.status == feedback.ACCEPTED %} {% endif %}
{# This is where all the messages pop up #} {% include "core/component/message_box.html" %}
{% endblock %} {% block script_block %} {% endblock script_block %}