Refactor discussion and report sections to use card layout for improved presentation and user interaction
This commit is contained in:
@@ -156,28 +156,24 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if show_discussion and case.discussion %}
|
{% if show_discussion and case.discussion %}
|
||||||
<p>
|
<details class="card mb-3">
|
||||||
<details>
|
<summary class="card-header p-2" style="cursor: pointer;">
|
||||||
<summary>
|
<strong>Discussion</strong>
|
||||||
Discussion:
|
</summary>
|
||||||
</summary>
|
<div class="card-body p-2 small">
|
||||||
<div>
|
{{case.discussion|linebreaks}}
|
||||||
{{case.discussion|linebreaks}}
|
</div>
|
||||||
</div>
|
</details>
|
||||||
</details>
|
|
||||||
</p>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if show_report and case.report %}
|
{% if show_report and case.report %}
|
||||||
<p>
|
<details class="card mb-3">
|
||||||
<details>
|
<summary class="card-header p-2" style="cursor: pointer;">
|
||||||
<summary>
|
<strong>Report</strong>
|
||||||
Report:
|
</summary>
|
||||||
</summary>
|
<div class="card-body p-2 small">
|
||||||
<div>
|
{{case.report|linebreaks}}
|
||||||
{{case.report|linebreaks}}
|
</div>
|
||||||
</div>
|
</details>
|
||||||
</details>
|
|
||||||
</p>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if question_completed %}
|
{% if question_completed %}
|
||||||
|
|||||||
Reference in New Issue
Block a user