mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-04 05:20:46 -04:00
This moves the back link to be above the `<main>` tag by making use of the new `backLink` block. This doesn't change the pages which are using a back link as part of the `page_header` macro yet.
39 lines
1005 B
HTML
39 lines
1005 B
HTML
{% extends "withoutnav_template.html" %}
|
|
{% from "components/form.html" import form_wrapper %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
{% from "components/back-link/macro.njk" import govukBackLink %}
|
|
|
|
{% set page_title = 'Use platform admin view' %}
|
|
|
|
{% block per_page_title %}
|
|
{{ page_title }}
|
|
{% endblock %}
|
|
|
|
{% block backLink %}
|
|
{{ govukBackLink({ "href": url_for('.user_profile') }) }}
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
<div class="govuk-grid-row">
|
|
<div class="govuk-grid-column-five-sixths">
|
|
|
|
{% call form_wrapper(class="govuk-!-margin-top-3") %}
|
|
{{ form.enabled(param_extensions={
|
|
'fieldset': {
|
|
'legend': {
|
|
'isPageHeading': True,
|
|
'classes': 'govuk-fieldset__legend--l'
|
|
}
|
|
},
|
|
'hint': {
|
|
'text': 'Signing in again clears this setting'
|
|
}
|
|
}) }}
|
|
{{ page_footer('Save') }}
|
|
{% endcall %}
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|