Skip to content

Commit 09eddef

Browse files
Add 'New' tag to legal mechanism pages (#507)
This aims to acknowledge that this is a newly-added question, whilst not drawing too much attention to the feature (as we think it is largely self-explanatory). We’d remove the tag after a month or 2. ## Screenshots ### When recording a vaccination <img width="858" height="572" alt="Screenshot 2025-10-27 at 09 47 52" src="https://github.com/user-attachments/assets/b2a5796d-20dc-42f3-b418-b9f326de1a36" /> ### When adding a new vaccine to a site <img width="976" height="621" alt="Screenshot 2025-10-27 at 09 48 56" src="https://github.com/user-attachments/assets/5f552092-c6e5-4c96-8901-fd5115d34292" />
1 parent a39ac53 commit 09eddef

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

app/views/record-vaccinations/legal-mechanism.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121

2222
<form action="/record-vaccinations/answer-legal-mechanism" method="post" novalidate>
2323

24+
{{ tag({
25+
text: "New",
26+
classes: "nhsuk-tag nhsuk-tag--blue nhsuk-u-margin-bottom-3"
27+
}) }}
28+
2429
{{ radios({
2530
idPrefix: "legal-mechanism",
2631
name: "legalMechanism",

app/views/vaccines/legal-mechanisms.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
<div class="nhsuk-grid-column-two-thirds">
1717
<form action="/vaccines/check" method="post" novalidate="true">
1818

19+
{{ tag({
20+
text: "New",
21+
classes: "nhsuk-tag nhsuk-tag--blue nhsuk-u-margin-bottom-3"
22+
}) }}
23+
1924
{{ checkboxes({
2025
idPrefix: "legal-mechanisms",
2126
name: "vaccineLegalMechanisms",

0 commit comments

Comments
 (0)