Files
notifications-admin/app/templates/components/page-header.html
Tom Byers c6711a113c Update h1 on pill pages to work with new pill
Pill pages are:
- /notifications
- /template-usage
- /monthly
- /organisations/<organisation_id>
- /templates

Includes changes to:
- the folder-path component
- the page-header component

...all their h1s have the same id.
2020-09-04 09:02:36 +01:00

16 lines
296 B
HTML

{% from "components/back-link/macro.njk" import govukBackLink %}
{% macro page_header(
h1,
back_link=None,
size='large'
) %}
{% if back_link %}
{{ govukBackLink({ "href": back_link }) }}
{% endif %}
<h1 class="heading-{{ size }}" id="page-header">{{ h1 }}</h1>
{% endmacro %}