{% extends "deliver_grant_funding/grant_base.html" %} {% from "govuk_frontend_jinja/components/back-link/macro.html" import govukBackLink %} {% from "govuk_frontend_jinja/components/summary-list/macro.html" import govukSummaryList %} {% from "govuk_frontend_jinja/components/notification-banner/macro.html" import govukNotificationBanner %} {% from "deliver_grant_funding/macros/render_calculated_form_fields.html" import render_calculated_validation_custom_expression_field, render_calculated_validation_custom_message_field with context %} {% set type_constants = group.form.collection.type.constants %} {% set active_item_identifier = type_constants.active_nav %} {% if expression %} {% set heading = "Edit a group validation" %} {% set submit_label = "Save group validation" %} {% else %} {% set heading = "Create a group validation" %} {% set submit_label = "Add group validation" %} {% endif %} {% set back_link_href = url_for("deliver_grant_funding.list_group_questions", grant_id=grant.id, group_id=group.id) %} {% set page_title = heading ~ " - " ~ group.name %} {% block beforeContent %} {{ govukBackLink({ "text": "Back", "href": back_link_href }) }} {% endblock beforeContent %} {% block content %}
Are you sure you want to delete this group validation?
{% endset %} {{ govukNotificationBanner(params={"role": "alert", "titleText": "Warning", "classes": "", "html": banner_html}) }} {% endif %}