diff --git a/app/views/record-vaccinations/alt-index.html b/app/views/record-vaccinations/alt-index.html new file mode 100644 index 00000000..132d25fa --- /dev/null +++ b/app/views/record-vaccinations/alt-index.html @@ -0,0 +1,97 @@ +{% extends 'layout.html' %} + +{% set pageName = "Record vaccinations" %} +

Start recording a vaccination.

+ + {% from 'inset-text/macro.njk' import insetText %} + +{% set insetTextHtml %} +

Find out about the latest updates to the service: +
What's new (opens in new tab)

+{% endset %} + +{{ insetText({ + html: insetTextHtml +}) }} + +{% set currentSection = "vaccinate" %} + +{% block content %} +
+
+ + {% include "includes/notification.html" %} + + + {% if (errorList | length) > 0 %} + {{ errorSummary({ + titleText: "There is a problem", + errorList: errorList + }) }} + {% endif %} + + + +
+ + {% set nhsNumberHtml %} + + {{ input({ + id: "nhs-number", + name: "nhsNumber", + classes: "nhsuk-input--width-10", + inputmode: "numeric", + errorMessage: nhsNumberError, + label: { + text: "NHS number", + classes: "nhsuk-label--s" + }, + value: data.nhsNumber, + hint: { + text: "For example, 485 777 3456" + } + }) }} + {% endset %} + + + {{ radios({ + idPrefix: "nhs-number-known", + name: "nhsNumberKnown", + fieldset: { + legend: { + html: "Do you have the patient’s NHS number?", + classes: "nhsuk-fieldset__legend--l", + isPageHeading: "true" + } + }, + value: data.nhsNumberKnown, + errorMessage: nhsNumberKnownError if nhsNumberKnownError, + items: [ + { + value: "yes", + text: "Yes", + conditional: { + html: nhsNumberHtml + } + }, + { + value: "no", + text: "No" + } + ] + }) }} + + {# This is to make sure the right options are shown on the 'Done' page. #} + + + + + {{ button({ + text: "Continue" + })}} +
+ +
+
+ +{% endblock %}