Skip to content

Commit 69950d9

Browse files
committed
Correct classes on weight pages
1 parent 5721e0b commit 69950d9

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
{{ input({
2222
"label": {
2323
"text": "Stone",
24-
"classes": "nhsuk-fieldset__legend--m",
2524
"isPageHeading": false
2625
},
2726
"hint": {
@@ -30,7 +29,7 @@
3029
"id": field.auto_id + "_0",
3130
"name": field.html_name + "_0",
3231
"value": field.subwidgets.0.data.value,
33-
"classes": "nhsuk-input--width-2" + field_error_classes,
32+
"classes": "nhsuk-input--width-4" + field_error_classes,
3433
"type": "number",
3534
"suffix": "st"
3635
}) }}
@@ -40,13 +39,12 @@
4039
{{ input({
4140
"label": {
4241
"text": "Pounds",
43-
"classes": "nhsuk-fieldset__legend--m",
4442
"isPageHeading": false
4543
},
4644
"id": field.auto_id + "_1",
4745
"name": field.html_name + "_1",
4846
"value": field.subwidgets.1.data.value,
49-
"classes": "nhsuk-input--width-2" + field_error_classes,
47+
"classes": "nhsuk-input--width-4" + field_error_classes,
5048
"type": "number",
5149
"suffix": "lb"
5250
}) }}

lung_cancer_screening/questions/jinja2/weight.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
{% call fieldset({
3939
"legend": {
4040
"text": "How much do you weigh?",
41-
"classes": "nhsuk-label--m"
41+
"classes": "nhsuk-fieldset__legend--m"
4242
}
4343
}) %}
4444

0 commit comments

Comments
 (0)