{% extends 'atlas/base.html' %} {% load crispy_forms_tags %} {% block content %}
Collection: {{collection}}

Case {{case_number|add:1}} {% if show_title %} : {{case.title}} {% endif %} {% if question_completed %} REVIEW {% endif %}

{% if not question_completed and collection.question_time_limit is not None %}
Time remaining:  
{% endif %} {% comment %}
Help
{% endcomment %} {% if not question_completed %} {% if resources %}
Resources
{% endif %} {% endif %} {% if show_description and case.description %}
Description

{{case.description}}

{% endif %} {% if show_history %}
History: {{casedetail.get_history_pre|linebreaks}}
{% if has_priors %}
Priors{% if prior_count %} ({{ prior_count }}){% endif %}
{% endif %}
{% endif %} {% if collection.show_ohif_viewer %}
{% if question_completed %} {% else %} {% endif %}
{% endif %} {% if collection.show_ohif_viewer_link %}
{% if question_completed %} {% else %} {% endif %}
{% endif %} {% if collection.show_built_in_viewer %}
Viewer
{% comment %}
Images {% for series, prior, relation in series_to_load %} Series {{ forloop.counter }}: {{series.get_block}} {% if prior %}
Prior: {{relation}} {% endif %}
{% endfor %}
{% endcomment %} {% else %} {% endif %} {% if show_discussion and case.discussion %}
Discussion
{{case.discussion|linebreaks}}
{% endif %} {% if show_report and case.report %}
Report
{{case.report|linebreaks}}
{% endif %} {% if question_completed %} {% if resources %}
Resources
{% endif %} {% endif %}
{% csrf_token %} {% if collection.collection_type == "QUE" %} {% if question_completed %}

Answers

{% include "atlas/partials/collection_question_answer_block.html" %} {% if collection.self_review %}

{% if self_review %}

Self Feedback

{% for review in self_review %} {{review.get_display_block}} {% endfor %} {% endif %}
{% else %}

Answer score: {{answer.score}}

Answer feedback: {{answer.feedback|safe}}
{% endif %}
View questions {{form.json.errors}}
{{form}}
{% else %} {{form.json.errors}}
{{form}}
{% endif %} {% elif collection.collection_type == "REP" %} {{form.json.errors}}
{{form | crispy}}
{% if question_completed %}
{% if collection.self_review %}

{% if self_review %}

Self Feedback

{% for review in self_review %} {{review.get_display_block}} {% endfor %} {% endif %} {% else %}

Answer score: {{answer.score}}

Answer feedback: {{answer.feedback|safe}}
{% endif %}
{% endif %} {% endif %}
{% if previous %} {% endif %} {% if next %} {% elif collection.collection_type == "REP" %} {% if not exam.publish_results %} {% endif %} {% endif %}
{% if collection.self_review and not collection.feedback_once_collection_complete and not question_completed %} {% endif %}
{% endblock %} {% block js %} {{ form.media }} {% comment %} {% endcomment %} {% endblock js %}