{% extends "deliver_grant_funding/grant_base.html" %} {% from "govuk_frontend_jinja/components/back-link/macro.html" import govukBackLink %} {% from "govuk_frontend_jinja/components/warning-text/macro.html" import govukWarningText %} {% from "deliver_grant_funding/macros/data_sets.html" import render_data_set_data_with_missing_data_grant_recipients with context %} {% set type_constants = collection.type.constants %} {% set active_item_identifier = type_constants.active_nav %} {% set page_title = "Review missing data in " ~ session_data.name ~ " data set" %} {% block beforeContent %} {% if session_data.has_grant_recipient_mismatches %} {% set back_link = url_for("deliver_grant_funding.confirm_data_set_grant_recipients", grant_id=grant.id, collection_type=collection.type, collection_id=collection.id, data_source_id=session_data.data_source_id if session_data.is_replace == True else None) %} {% else %} {% if session_data.is_replace %} {% set back_link = url_for("deliver_grant_funding.replace_data_set", grant_id=grant.id, collection_type=collection.type, collection_id=collection.id, data_source_id=session_data.data_source_id) %} {% else %} {% set back_link = url_for("deliver_grant_funding.upload_data_set", grant_id=grant.id, collection_type=collection.type, collection_id=collection.id) %} {% endif %} {% endif %} {{ govukBackLink({ "text": "Back", "href": back_link }) }} {% endblock beforeContent %} {% block content %}