From 82c6c40f8a277dabe6a9f9d5c7cc441ed01af7ff Mon Sep 17 00:00:00 2001 From: Ed Horsford Date: Tue, 20 Aug 2024 16:10:49 +0100 Subject: [PATCH] Swap templates to using new macro --- packages/components/action-link/template.njk | 4 +++- packages/components/back-link/template.njk | 4 +++- packages/components/breadcrumb/template.njk | 8 +++++--- packages/components/button/template.njk | 4 +++- packages/components/card/template.njk | 4 +++- packages/components/checkboxes/template.njk | 5 +++-- packages/components/contents-list/template.njk | 4 +++- packages/components/date-input/template.njk | 3 ++- packages/components/details/template.njk | 4 +++- packages/components/do-dont-list/template.njk | 4 +++- packages/components/error-message/template.njk | 4 +++- packages/components/error-summary/template.njk | 6 ++++-- packages/components/fieldset/template.njk | 4 +++- packages/components/footer/template.njk | 4 +++- packages/components/header/template.njk | 10 ++++++---- packages/components/hero/template.njk | 4 +++- packages/components/hint/template.njk | 4 +++- packages/components/images/template.njk | 4 +++- packages/components/input/template.njk | 3 ++- packages/components/inset-text/template.njk | 4 +++- packages/components/label/template.njk | 4 +++- packages/components/pagination/template.njk | 4 +++- packages/components/radios/template.njk | 5 +++-- packages/components/select/template.njk | 5 +++-- packages/components/skip-link/template.njk | 4 +++- packages/components/summary-list/template.njk | 4 +++- packages/components/tables/template.njk | 4 +++- packages/components/tabs/template.njk | 10 ++++++---- packages/components/tag/template.njk | 4 +++- packages/components/textarea/template.njk | 3 ++- packages/components/warning-callout/template.njk | 4 +++- 31 files changed, 99 insertions(+), 43 deletions(-) diff --git a/packages/components/action-link/template.njk b/packages/components/action-link/template.njk index fc6d9cddd..49cef6edb 100644 --- a/packages/components/action-link/template.njk +++ b/packages/components/action-link/template.njk @@ -1,9 +1,11 @@ +{% from "../../macros/attributes.njk" import nhsukAttributes %} +