Browse Source

Merge pull request #386 from communitiesuk/feature/CLDC-1050-ethnic-background

CLDC-1050: re-add ethnic question
pull/407/head
Kidd Hustle 3 years ago committed by GitHub
parent
commit
584d543769
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      config/forms/2021_2022.json
  2. 1
      db/schema.rb

20
config/forms/2021_2022.json

@ -1284,7 +1284,7 @@
},
"conditional_for": {
"ethnic_other": [
"Other ethnic group"
1
]
}
},
@ -1296,7 +1296,7 @@
},
"depends_on": [
{
"ethnic_group": "Other ethnic group"
"ethnic_group": 4
}
]
},
@ -1328,7 +1328,7 @@
},
"conditional_for": {
"ethnic_other": [
"Other ethnic group"
4
]
}
},
@ -1340,7 +1340,7 @@
},
"depends_on": [
{
"ethnic_group": "Asian or Asian British"
"ethnic_group": 2
}
]
},
@ -1366,7 +1366,7 @@
},
"conditional_for": {
"ethnic_other": [
"Any other Black, African or Caribbean background"
2
]
}
},
@ -1378,7 +1378,7 @@
},
"depends_on": [
{
"ethnic_group": "Black, African, Caribbean or Black British"
"ethnic_group": 3
}
]
},
@ -1404,7 +1404,7 @@
},
"conditional_for": {
"tenant_ethnic_group_mixed_other": [
"Any other Mixed or Multiple ethnic background"
2
]
}
},
@ -1416,7 +1416,7 @@
},
"depends_on": [
{
"ethnic_group": "Mixed or Multiple ethnic groups"
"ethnic_group": 1
}
]
},
@ -1445,7 +1445,7 @@
},
"conditional_for": {
"tenant_ethnic_group_white_other": [
"Any other White background"
3
]
}
},
@ -1457,7 +1457,7 @@
},
"depends_on": [
{
"ethnic": "White"
"ethnic": 0
}
]
},

1
db/schema.rb

@ -284,7 +284,6 @@ ActiveRecord::Schema[7.0].define(version: 202202071123100) do
t.integer "failed_attempts", default: 0
t.string "unlock_token"
t.datetime "locked_at", precision: nil
t.string "phone"
t.index ["email"], name: "index_users_on_email", unique: true
t.index ["organisation_id"], name: "index_users_on_organisation_id"
t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true

Loading…
Cancel
Save