{% if collection.collection_type == "QUE" %} {% if casedetail.question_schema %} {% else %} {% endif %} {% endif %} {% if casedetail.case.previous_case %} {% endif %}
{% if casedetail.default_viewerstate %} {% endif %}
{# Remove button (HTMX) - only shown when the surrounding template has `can_edit` true #} {% if can_edit %}
{% endif %}