|
| 1 | +{% from "govuk/components/back-link/macro.njk" import govukBackLink %} |
| 2 | +{% from "govuk/components/character-count/macro.njk" import govukCharacterCount %} |
| 3 | +{% from "govuk/components/button/macro.njk" import govukButton %} |
| 4 | + |
| 5 | +{% extends "../../partials/layout.njk" %} |
| 6 | + |
| 7 | +{% set pageTitle = applicationName + " - " + title %} |
| 8 | +{% set mainClasses = "app-container govuk-body applications-landing-page" %} |
| 9 | + |
| 10 | +{% block content %} |
| 11 | + <div class="govuk-body govuk-width-container"> |
| 12 | + {{ govukBackLink({ |
| 13 | + text: "Back", |
| 14 | + href: "/log/prisoner-details" |
| 15 | + }) }} |
| 16 | + |
| 17 | + <span class="govuk-caption-xl">{{ appTypeTitle }}</span> |
| 18 | + <h1 class="govuk-heading-xl govuk-!-margin-top-0">Log details</h1> |
| 19 | + |
| 20 | + <div class="govuk-width-container"> |
| 21 | + <div class="govuk-grid-row"> |
| 22 | + <div class="govuk-grid-column-one-half"> |
| 23 | + <form method="POST" id="log-swap-vos-pin-credit-details"> |
| 24 | + <input type="hidden" name="_csrf" value="{{ csrfToken }}" /> |
| 25 | + |
| 26 | + {{ govukCharacterCount({ |
| 27 | + name: "swap-vos-pin-credit-details", |
| 28 | + id: "swap-vos-pin-credit-details", |
| 29 | + maxlength: 1000, |
| 30 | + threshold: 75, |
| 31 | + value: textareaValue, |
| 32 | + label: { |
| 33 | + text: "Details (optional)", |
| 34 | + classes: "govuk-label--s", |
| 35 | + isPageHeading: true |
| 36 | + }, |
| 37 | + hint: { |
| 38 | + text: "Add a brief summary, for example, if this person is a Foreign National" |
| 39 | + } |
| 40 | + }) }} |
| 41 | + |
| 42 | + {{ govukButton({ |
| 43 | + text: "Continue", |
| 44 | + classes: "govuk-button--primary" |
| 45 | + }) }} |
| 46 | + </form> |
| 47 | + </div> |
| 48 | + </div> |
| 49 | + </div> |
| 50 | + </div> |
| 51 | +{% endblock %} |
0 commit comments