Skip to content

Commit 964b986

Browse files
jamiefalcusThemitchell
authored andcommitted
Add suffix to imperial height inputs
1 parent 84e89dd commit 964b986

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lung_cancer_screening/nhsuk_forms/jinja2/imperial-height-input.jinja

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
{{ input({
2222
"label": {
2323
"text": "Feet",
24-
"classes": "nhsuk-fieldset__legend--m",
2524
"isPageHeading": false
2625
},
2726
"hint": {
@@ -31,22 +30,23 @@
3130
"name": field.html_name + "_0",
3231
"value": field.subwidgets.0.data.value,
3332
"classes": "nhsuk-input--width-2" + field_error_classes,
34-
"type": "number"
33+
"type": "number",
34+
"suffix": "ft"
3535
}) }}
3636
</div>
3737

3838
<div class="multi-field-input__item">
3939
{{ input({
4040
"label": {
4141
"text": "Inches",
42-
"classes": "nhsuk-fieldset__legend--m",
4342
"isPageHeading": false
4443
},
4544
"id": field.auto_id + "_1",
4645
"name": field.html_name + "_1",
4746
"value": field.subwidgets.1.data.value,
4847
"classes": "nhsuk-input--width-2" + field_error_classes,
49-
"type": "number"
48+
"type": "number",
49+
"suffix": "in"
5050
}) }}
5151
</div>
5252
</div>

0 commit comments

Comments
 (0)