{# crate_anon/crateweb/consent/templates/consent_table.html #} {% comment %} template parameters: LEAFLET_URL_CPFTRD_CLINRES_SHORT: str patient_lookup: PatientLookup settings: Django settings object with_page_break: bool {% endcomment %} {% if with_page_break %} {% else %} {% endif %} {% if generic or patient_lookup.is_under_16 %} {% endif %} {# Are we showing two boxes? If so, insert a visual divider. #} {# Note: you can't use brackets in Django logic expressions. #} {% if generic %} {% elif patient_lookup.is_under_16 and not patient_lookup.is_under_15 %} {% endif %} {% if generic or not patient_lookup.is_under_15 %} {# MCA doesn't apply to under-16s, but this form may go out shortly before 16th birthday #} {% endif %}