Commit ba172d2 1 parent 4711324 commit ba172d2 Copy full SHA for ba172d2
File tree 2 files changed +46
-9
lines changed
2 files changed +46
-9
lines changed Original file line number Diff line number Diff line change 15
15
}) }}
16
16
17
17
<span class =" govuk-caption-xl" >Log an application</span >
18
+ <h1 class =" govuk-heading-xl govuk-!-margin-top-0" >Select application type</h1 >
18
19
19
- <form method =" POST" id =" logApplicationType " >
20
+ <form method =" POST" id =" log-application-type " >
20
21
<input type =" hidden" name =" _csrf" value =" {{ csrfToken }}" />
21
22
22
23
{{ govukRadios ({
23
24
name : " applicationType" ,
24
- fieldset : {
25
- legend : {
26
- text : title ,
27
- isPageHeading : true ,
28
- classes : " govuk-fieldset__legend--l"
29
- }
30
- },
31
25
items : applicationTypes
32
26
}) }}
33
27
Original file line number Diff line number Diff line change 1
1
{% from " govuk/components/back-link/macro.njk" import govukBackLink %}
2
+ {% from " govuk/components/button/macro.njk" import govukButton %}
3
+ {% from " govuk/components/input/macro.njk" import govukInput %}
4
+ {% from " govuk/components/inset-text/macro.njk" import govukInsetText %}
5
+
6
+ {%- from " moj/components/date-picker/macro.njk" import mojDatePicker -%}
2
7
3
8
{% extends " ../../partials/layout.njk" %}
4
9
9
14
<div class =" govuk-body govuk-width-container" >
10
15
{{ govukBackLink ({
11
16
text : " Back" ,
12
- href : " /"
17
+ href : " /log/application-type "
13
18
}) }}
19
+
20
+ <span class =" govuk-caption-xl" >{{ appTypeTitle }} </span >
21
+ <h1 class =" govuk-heading-xl govuk-!-margin-top-0" >Log prisoner details</h1 >
22
+
23
+ <form method =" POST" id =" log-prisoner-details" >
24
+ <input type =" hidden" name =" _csrf" value =" {{ csrfToken }}" />
25
+
26
+ <div class =" govuk-form-group govuk-!-margin-bottom-0" >
27
+ <label class =" govuk-label govuk-label--s" for =" prisonNumber" >
28
+ Prison number
29
+ </label >
30
+
31
+ <input class =" govuk-input govuk-input--width-10" id =" prisonNumber" name =" prisonNumber" type =" text" value =" " >
32
+
33
+ <button id =" prison-number-lookup" class =" govuk-button govuk-button--secondary" data-module =" govuk-button" >
34
+ Find prisoner
35
+ </button >
36
+ </div >
37
+
38
+ {{ govukInsetText ({
39
+ text : " Prisoner name: Patel, Taj" ,
40
+ classes : " govuk-!-margin-top-0"
41
+ }) }}
42
+
43
+ {{ mojDatePicker ({
44
+ id : " date" ,
45
+ name : " date" ,
46
+ label : {
47
+ text : " Date" ,
48
+ classes : " govuk-label--s"
49
+ }
50
+ }) }}
51
+
52
+ {{ govukButton ({
53
+ text : " Continue" ,
54
+ classes : " govuk-button--primary"
55
+ }) }}
56
+ </form >
14
57
</div >
15
58
{% endblock %}
You can’t perform that action at this time.
0 commit comments