mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-24 18:09:13 -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.
32 lines
782 B
HTML
32 lines
782 B
HTML
{% from "components/back-link/macro.njk" import govukBackLink %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
{% from "components/form.html" import form_wrapper %}
|
|
|
|
{% extends "withnav_template.html" %}
|
|
|
|
{% block service_page_title %}
|
|
New alert
|
|
{% endblock %}
|
|
|
|
{% block backLink %}
|
|
{{ govukBackLink({ "href": url_for('.broadcast_dashboard', service_id=current_service.id) }) }}
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
{% call form_wrapper(class="govuk-!-margin-top-3") %}
|
|
{{ form.content(
|
|
param_extensions={
|
|
'fieldset': {
|
|
'legend': {
|
|
'isPageHeading': True,
|
|
'classes': 'govuk-fieldset__legend--l'
|
|
}
|
|
}
|
|
}
|
|
) }}
|
|
{{ page_footer('Continue') }}
|
|
{% endcall %}
|
|
|
|
{% endblock %}
|