mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-04 15:48:25 -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.
26 lines
812 B
HTML
26 lines
812 B
HTML
{% extends "org_template.html" %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
{% from "components/page-header.html" import page_header %}
|
|
{% from "components/form.html" import form_wrapper %}
|
|
{% from "components/back-link/macro.njk" import govukBackLink %}
|
|
|
|
{% block backLink %}
|
|
{{ govukBackLink({ "href": url_for('.organisation_settings', org_id=current_org.id) }) }}
|
|
{% endblock %}
|
|
|
|
{% block org_page_title %}
|
|
Data sharing and financial agreement
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
{{ page_header("Data sharing and financial agreement") }}
|
|
<div class="govuk-grid-row">
|
|
<div class="govuk-grid-column-five-sixths">
|
|
{% call form_wrapper() %}
|
|
{{ form.agreement_signed }}
|
|
{{ page_footer('Save') }}
|
|
{% endcall %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|