Replace all existing back-links with component

Includes:
- all existing macros
- all imports for the existing macros
This commit is contained in:
Tom Byers
2019-11-29 09:02:16 +00:00
parent ff53b9f34f
commit e5bc33be84
5 changed files with 16 additions and 20 deletions

View File

@@ -3,7 +3,7 @@
{% from "components/radios.html" import radio_select %}
{% from "components/table.html" import list_table, field, text_field, index_field, hidden_field_heading %}
{% from "components/file-upload.html" import file_upload %}
{% from "components/page-header.html" import govuk_back_link %}
{% from "components/back-link/macro.njk" import govukBackLink %}
{% from "components/message-count-label.html" import message_count_label %}
{% set file_contents_header_id = 'file-preview' %}
@@ -19,7 +19,7 @@
{% block maincolumn_content %}
{{ govuk_back_link(back_link) }}
{{ govukBackLink({ "href": back_link }) }}
<div class="bottom-gutter-1-2">
{% call banner_wrapper(type='dangerous') %}