Files
notifications-admin/app/templates/views/service-settings/set-service-setting.html
Katie Smith 1860b2b690 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.
2021-08-03 11:28:15 +01:00

34 lines
912 B
HTML

{% extends "withnav_template.html" %}
{% from "components/page-footer.html" import page_footer %}
{% from "components/form.html" import form_wrapper %}
{% from "components/back-link/macro.njk" import govukBackLink %}
{% block service_page_title %}
{{ title }}
{% endblock %}
{% block backLink %}
{{ govukBackLink({ "href": url_for('.service_settings', service_id=current_service.id) }) }}
{% endblock %}
{% block maincolumn_content %}
<div class="govuk-grid-row">
<div class="govuk-grid-column-five-sixths">
{% call form_wrapper() %}
{{ form.enabled(param_extensions={
"fieldset": {
"classes": "govuk-!-margin-top-3",
"legend": {
"isPageHeading": True,
"classes": "govuk-fieldset__legend--l"
}
}
}) }}
{{ page_footer('Save') }}
{% endcall %}
</div>
</div>
{% endblock %}