mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-05 06:48:25 -04:00
Move back link above main content for straightforward cases
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.
This commit is contained in:
@@ -9,11 +9,14 @@
|
||||
{{ 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">
|
||||
{{ govukBackLink({ "href": url_for('.user_profile') }) }}
|
||||
|
||||
{% call form_wrapper(class="govuk-!-margin-top-3") %}
|
||||
{{ form.enabled(param_extensions={
|
||||
|
||||
Reference in New Issue
Block a user