{% from "deliver_grant_funding/macros/deliver_grant_funding_collection_breadcrumb.html" import deliver_grant_funding_collection_breadcrumb %} {% from "common/partials/mhclg-test-banner.html" import mhclgInlinePageTestDataBanner %} {% from "common/macros/status.html" import submissionStatusTag, assessmentStatusTag with context %} {% from "common/macros/submissions.html" import submission_answers with context %} {% from "govuk_frontend_jinja/components/notification-banner/macro.html" import govukNotificationBanner %} {% from "govuk_frontend_jinja/components/button/macro.html" import govukButton %} {% extends "deliver_grant_funding/grant_base.html" %} {% set page_title = "Submission - " ~ helper.long_collection_name %} {% set type_constants = helper.submission.collection.type.constants %} {% set active_item_identifier = type_constants.active_nav %} {% block beforeContent %} {% if helper.is_test %} {{ mhclgInlinePageTestDataBanner("Test submission") }} {% endif %} {{ deliver_grant_funding_collection_breadcrumb(grant=grant, collection=helper.submission.collection, immediate_parent_breadcrumb_item={"text": "Submissions", "href": url_for("deliver_grant_funding.list_submissions", grant_id=grant.id, collection_type=helper.submission.collection.type, collection_id=helper.submission.collection.id, submission_mode=helper.submission.mode)}, this_page_breadcrumb_item={"text": helper.submission.grant_recipient.organisation.name if helper.submission.grant_recipient else helper.submission.created_by.email }) }} {% endblock beforeContent %} {% block content %}
Email sent to {{ helper.submission.grant_recipient.organisation.name ~ " users" if helper.submission.grant_recipient else helper.submission.created_by.email }} with your reason for reopening.
{% endset %} {{ govukNotificationBanner({ "html": submission_reopened_html, "type":"success", "titleText": "Success" }) }} {% endif %} {% endwith %}Are you sure you want to reset this test submission?
{% endset %} {{ govukNotificationBanner(params={"role": "alert", "titleText": "Important", "classes": "", "html": banner_html}) }} {% endif %} {{ helper.submission.grant_recipient.organisation.name if helper.submission.grant_recipient else helper.submission.created_by.email }}