mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-31 03:20:28 -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(
|
||||
h1,
|
||||
back_link=None,
|
||||
size='large'
|
||||
) %}
|
||||
|
||||
{% if back_link %}
|
||||
{{ govukBackLink({ "href": back_link }) }}
|
||||
{% endif %}
|
||||
|
||||
<h1 class="heading-{{ size }}" id="page-header">{{ h1 }}</h1>
|
||||
|
||||
{% endmacro %}
|
||||
|
||||
Reference in New Issue
Block a user