mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 18:22:37 -04:00
Remove back_link parameter from page_header macro
This commit is contained in:
@@ -1,15 +1,8 @@
|
|||||||
{% from "components/back-link/macro.njk" import govukBackLink %}
|
|
||||||
|
|
||||||
{% macro page_header(
|
{% macro page_header(
|
||||||
h1,
|
h1,
|
||||||
back_link=None,
|
|
||||||
size='large'
|
size='large'
|
||||||
) %}
|
) %}
|
||||||
|
|
||||||
{% if back_link %}
|
|
||||||
{{ govukBackLink({ "href": back_link }) }}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<h1 class="heading-{{ size }}" id="page-header">{{ h1 }}</h1>
|
<h1 class="heading-{{ size }}" id="page-header">{{ h1 }}</h1>
|
||||||
|
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|||||||
Reference in New Issue
Block a user