-
- Condition:
-
- {% for con in case.condition.all %}
- - {{con.get_link}}
- {% endfor %}
-
-
-
- Findings
- {% if case.series.all %}
- {% for series in case.series.all %}
- {% for finding in series.findings.all %}
-
-
- Series {{series.pk}}: {{series.get_examination_full}} |
-
- {% if finding.findings.all %}
+
+
+ Condition:
+
+ {% for con in case.condition.all %}
+ - {{con.get_link}}
+ {% endfor %}
+
+
+
+ Findings
+ {% if case.series.all %}
+ {% for series in case.series.all %}
+ {% for finding in series.findings.all %}
+
- Findings: {% for f in finding.findings.all %}
- {{f.get_link}},
- {% endfor %}
+ Series {{series.pk}}: {{series.get_examination_full}} |
- {% endif %}
- {% if finding.structures.all %}
-
- Structure: {% for s in finding.structures.all %}
- {{s.get_link}},
- {% endfor %}
-
- {% endif %}
- {% if finding.description %}
-
- Description: {{finding.description}}
-
- {% endif %}
-
+ {% if finding.findings.all %}
+
+ Findings: {% for f in finding.findings.all %}
+ {{f.get_link}},
+ {% endfor %}
+
+ {% endif %}
+ {% if finding.structures.all %}
+
+ Structure: {% for s in finding.structures.all %}
+ {{s.get_link}},
+ {% endfor %}
+
+ {% endif %}
+ {% if finding.description %}
+
+ Description: {{finding.description}}
+
+ {% endif %}
+
+ {% endfor %}
{% endfor %}
- {% endfor %}
- {% else %}
- No series associated with case.
- {% endif %}
-
-
-
-
- Differentials
-
- {% for diff in case.differentialcase.all %}
- - {{diff.condition.get_link}} - {{diff.text}}
- {% endfor %}
-
-
-
-
+ {% else %}
+ No series associated with case.
+ {% endif %}
+
+
+
+
+ Differentials
+
+ {% for diff in case.differentialcase.all %}
+ - {{diff.condition.get_link}} - {{diff.text}}
+ {% endfor %}
+
+
+
+
+
+ Subspecialty:
+
+ {% for sub in case.subspecialty.all %}
+ - {{sub.get_link}}
+ {% endfor %}
+
+
Pathological Process:
+
+ {% for p in case.pathological_process.all %}
+ - {{p.get_link}}
+ {% endfor %}
+
+
Diagnostic certainty: {{case.get_diagnostic_certainty_display}}
+
Collections:
+
+
+
+
+
Previous case: {{ case.previous_case.get_link }}
+
Next case: {{ case.next_case.get_link }}
+
+ {% include 'question_notes.html' %}
+
- Subspecialty:
-
- {% for sub in case.subspecialty.all %}
- - {{sub.get_link}}
- {% endfor %}
-
-
Pathological Process:
-
- {% for p in case.pathological_process.all %}
- - {{p.get_link}}
- {% endfor %}
-
-
Diagnostic certainty: {{case.get_diagnostic_certainty_display}}
-
Collections:
-
-
-
-
-
Previous case: {{ case.previous_case.get_link }}
-
Next case: {{ case.next_case.get_link }}
-
- {% include 'question_notes.html' %}
-
+
Checked by: {% for verified in case.verified.all %} {{verified}}, {% endfor %}
-
Checked by: {% for verified in case.verified.all %} {{verified}}, {% endfor %}
-
-
Author(s): {% for author in case.author.all %} {{author}}, {% endfor %}
+
Author(s): {% for author in case.author.all %} {{author}}, {% endfor %}
diff --git a/atlas/templates/atlas/case_form.html b/atlas/templates/atlas/case_form.html
index f3e9d502..a1fbeb0a 100755
--- a/atlas/templates/atlas/case_form.html
+++ b/atlas/templates/atlas/case_form.html
@@ -29,18 +29,18 @@
function add_series_input_form() {
var form_idx = $('#id_Case_series-TOTAL_FORMS').val();
- $('#series_formset').append($('#empty_series_form').html().replace(/__prefix__/g, form_idx));
+ $('#series_formset ol').append($('#empty_series_form').html().replace(/__prefix__/g, form_idx));
$('#id_Case_series-TOTAL_FORMS').val(parseInt(form_idx) + 1);
}
function add_differential_input_form() {
var form_idx = $('#id_differentialcase-TOTAL_FORMS').val();
- $('#casedifferential_formset').append($('#empty_casedifferential_form').html().replace(/__prefix__/g, form_idx));
+ $('#casedifferential_formset ol').append($('#empty_casedifferential_form').html().replace(/__prefix__/g, form_idx));
$('#id_differentialcase-TOTAL_FORMS').val(parseInt(form_idx) + 1);
}
function add_resource_input_form() {
var form_idx = $('#id_resourcecase-TOTAL_FORMS').val();
- $('#caseresource_formset').append($('#empty_caseresource_form').html().replace(/__prefix__/g, form_idx));
+ $('#caseresource_formset ol').append($('#empty_caseresource_form').html().replace(/__prefix__/g, form_idx));
$('#id_resourcecase-TOTAL_FORMS').val(parseInt(form_idx) + 1);
}
@@ -60,72 +60,82 @@
{% endif %}
Submit Case
- Use this form to create a atlas case. Existing associated image sets can be added using this form.
+
+ Instructions
+ Use this form to create a atlas case
+ Existing associated image sets can be added using this form.
+ The more information you provide, the more useful the case will be to others.
+
{% if form.collection %}
{% endif %}
+