mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
The page_header macro includes an optional back link. Since the page_header is always used inside `<main>`, where the back link should not be, this stops setting the back link in the page header and instead sets it in the new `backLink` block.
43 lines
1.7 KiB
HTML
43 lines
1.7 KiB
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/form.html" import form_wrapper %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
{% from "components/page-header.html" import page_header %}
|
|
{% from "components/back-link/macro.njk" import govukBackLink %}
|
|
|
|
{% block per_page_title %}
|
|
Confirm that you accept the agreement
|
|
{% endblock %}
|
|
|
|
|
|
{% block backLink %}
|
|
{{ govukBackLink({ "href": url_for('main.service_accept_agreement', service_id=current_service.id) }) }}
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
<div class="govuk-grid-row">
|
|
<div class="govuk-grid-column-five-sixths">
|
|
|
|
{{ page_header('Confirm that you accept the agreement') }}
|
|
|
|
{% call form_wrapper(class='top-gutter') %}
|
|
|
|
{% if current_service.organisation.agreement_signed_on_behalf_of_name and current_service.organisation.agreement_signed_on_behalf_of_email_address %}
|
|
<p class="govuk-body">
|
|
I confirm that I have the legal authority to accept the GOV.UK Notify data sharing and financial agreement (version {{ current_service.organisation.agreement_signed_version }}) on behalf of {{ current_service.organisation.agreement_signed_on_behalf_of_name }} ({{ current_service.organisation.agreement_signed_on_behalf_of_email_address }}) and that {{ current_service.organisation.name }} will be bound by it.
|
|
</p>
|
|
{% else %}
|
|
<p class="govuk-body">
|
|
I confirm that I have the legal authority to accept the GOV.UK Notify data sharing and financial agreement (version {{ current_service.organisation.agreement_signed_version }}) and that {{ current_service.organisation.name }} will be bound by it.
|
|
</p>
|
|
{% endif %}
|
|
|
|
{{ page_footer('Accept this agreement') }}
|
|
|
|
{% endcall %}
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|