{% extends "deliver_grant_funding/grant_base.html" %} {% from "govuk_frontend_jinja/components/summary-list/macro.html" import govukSummaryList %} {% from "govuk_frontend_jinja/components/back-link/macro.html" import govukBackLink %} {% set page_title = "Change when to show " ~ ("question group" if component.is_group else "question") ~ " - " ~ component.name %} {% set type_constants = component.form.collection.type.constants %} {% set active_item_identifier = type_constants.active_nav %} {% block beforeContent %} {% if component.is_group %} {% set back_link = url_for("deliver_grant_funding.list_group_questions", grant_id=grant.id, group_id=component.id) %} {% else %} {% set back_link = url_for("deliver_grant_funding.edit_question", grant_id=grant.id, question_id=component.id) %} {% endif %} {{ govukBackLink({ "text": "Back", "href": back_link }) }} {% endblock beforeContent %} {% block content %}
This {{ "question group" if component.is_group else "question" }} has {{ component.conditions|length }} conditions. Choose whether all or any of them need to match.