Browse Source

Add width attributes to test form

pull/129/head
Paul Robert Lloyd 3 years ago
parent
commit
d7db0009fe
  1. 27
      spec/fixtures/forms/test_form.json

27
spec/fixtures/forms/test_form.json vendored

@ -12,7 +12,8 @@
"tenant_code": {
"check_answer_label": "Tenant code",
"header": "What is the tenant code?",
"type": "text"
"type": "text",
"width": 10
}
}
},
@ -24,7 +25,8 @@
"type": "numeric",
"min": 0,
"max": 150,
"step": 1
"step": 1,
"width": 2
}
}
},
@ -76,7 +78,8 @@
"type": "numeric",
"min": 0,
"max": 150,
"step": 1
"step": 1,
"width": 2
},
"sex2": {
"check_answer_label": "Person 2's gender",
@ -211,7 +214,8 @@
"tenancy_code": {
"check_answer_label": "What is the tenancy code?",
"header": "What is the tenancy code?",
"type": "text"
"type": "text",
"width": 10
}
}
}
@ -312,7 +316,8 @@
"header": "What is the tenant’s /and partner’s combined income after tax?",
"type": "numeric",
"min": 0,
"step": 1
"step": 1,
"width": 5
},
"incfreq": {
"check_answer_label": "Income Frequency",
@ -410,6 +415,7 @@
"type": "numeric",
"min": 0,
"step": 1,
"width": 4,
"fields-to-add": [
"brent",
"scharge",
@ -425,6 +431,7 @@
"type": "numeric",
"min": 0,
"step": 1,
"width": 4,
"fields-to-add": [
"brent",
"scharge",
@ -440,6 +447,7 @@
"type": "numeric",
"min": 0,
"step": 1,
"width": 4,
"fields-to-add": [
"brent",
"scharge",
@ -455,6 +463,7 @@
"type": "numeric",
"min": 0,
"step": 1,
"width": 4,
"fields-to-add": [
"brent",
"scharge",
@ -470,6 +479,7 @@
"type": "numeric",
"min": 0,
"step": 1,
"width": 4,
"readonly": true
}
}
@ -529,13 +539,15 @@
"header": "Postcode for the previous accommodation",
"hint_text": "If the household has moved from settled accommodation immediately prior to being re-housed",
"type": "text",
"width": 5,
"conditional_for": { "faake_key": "fake_condition" }
},
"previous_postcode": {
"check_answer_label": "Postcode of previous accomodation if the household has moved from settled accommodation",
"header": "Postcode for the previous accommodation",
"hint_text": "If the household has moved from settled accommodation immediately prior to being re-housed",
"type": "text"
"type": "text",
"width": 5
}
}
},
@ -573,7 +585,8 @@
"declaration": {
"check_answer_label": "",
"header": "What is the tenant code?",
"type": "text"
"type": "text",
"width": 10
}
}
}

Loading…
Cancel
Save