@ -14,120 +14,123 @@ class Form::Lettings::Questions::Reason < ::Form::Question
end
end
def answer_options
def answer_options
if form . start_year_2025_or_later?
if form . start_year_2026_or_later?
return {
QUESTIONS_FROM_YEAR [ 2026 ]
" 50 " = > { " value " = > " End of social or private sector tenancy - no fault " } ,
elsif form . start_year_2025_or_later?
" 51 " = > { " value " = > " End of social or private sector tenancy - evicted due to anti-social behaviour (ASB) " } ,
QUESTIONS_FROM_YEAR [ 2025 ]
" 52 " = > { " value " = > " End of social or private sector tenancy - evicted due to rent arrears " } ,
else
" 53 " = > { " value " = > " End of social or private sector tenancy - evicted for any other reason " } ,
QUESTIONS_FROM_YEAR [ 2024 ]
" 1 " = > { " value " = > " Permanently decanted from another property owned by this landlord " } ,
" 2 " = > { " value " = > " Left home country as a refugee " } ,
" 45 " = > { " value " = > " Discharged from prison " } ,
" 46 " = > { " value " = > " Discharged from long-stay hospital or similar institution " } ,
" 4 " = > { " value " = > " Loss of tied accommodation " } ,
" 55 " = > { " value " = > " Leaving foster care or children's home " } ,
" 9 " = > { " value " = > " Asked to leave by family or friends " } ,
" 8 " = > { " value " = > " Relationship breakdown (non-violent) with partner " } ,
" 44 " = > { " value " = > " Death of household member in last settled accommodation " } ,
" 16 " = > { " value " = > " To move nearer to family, friends or school " } ,
" 17 " = > { " value " = > " To move nearer to work " } ,
" 48 " = > { " value " = > " Domestic abuse - previously joint tenancy with partner " } ,
" 49 " = > { " value " = > " Domestic abuse - other " } ,
" 10 " = > { " value " = > " Racial harassment " } ,
" 31 " = > { " value " = > " Hate crime " } ,
" 11 " = > { " value " = > " Other problems with neighbours " } ,
" 34 " = > { " value " = > " Repossession " } ,
" 54 " = > { " value " = > " Could no longer afford rent or mortgage " } ,
" 12 " = > { " value " = > " Property unsuitable because of overcrowding " } ,
" 13 " = > { " value " = > " Property unsuitable because of ill health or disability " } ,
" 14 " = > { " value " = > " Property unsuitable because of poor condition " } ,
" 29 " = > { " value " = > " Under occupation (offered incentive to downsize) " } ,
" 30 " = > { " value " = > " Under occupation (no incentive) " } ,
" 18 " = > { " value " = > " To move to accommodation with support " } ,
" 19 " = > { " value " = > " To move to independent accommodation " } ,
" 47 " = > { " value " = > " Tenant prefers not to say " } ,
" 20 " = > { " value " = > " Other " } ,
" divider " = > { " value " = > true } ,
" 28 " = > { " value " = > " Don’t know " } ,
} . freeze
end
if form . start_year_2024_or_later?
return {
" 50 " = > { " value " = > " End of social or private sector tenancy - no fault " } ,
" 51 " = > { " value " = > " End of social or private sector tenancy - evicted due to anti-social behaviour (ASB) " } ,
" 52 " = > { " value " = > " End of social or private sector tenancy - evicted due to rent arrears " } ,
" 53 " = > { " value " = > " End of social or private sector tenancy - evicted for any other reason " } ,
" 1 " = > { " value " = > " Permanently decanted from another property owned by this landlord " } ,
" 2 " = > { " value " = > " Left home country as a refugee " } ,
" 45 " = > { " value " = > " Discharged from prison " } ,
" 46 " = > { " value " = > " Discharged from long-stay hospital or similar institution " } ,
" 4 " = > { " value " = > " Loss of tied accommodation " } ,
" 9 " = > { " value " = > " Asked to leave by family or friends " } ,
" 8 " = > { " value " = > " Relationship breakdown (non-violent) with partner " } ,
" 44 " = > { " value " = > " Death of household member in last settled accommodation " } ,
" 16 " = > { " value " = > " To move nearer to family, friends or school " } ,
" 17 " = > { " value " = > " To move nearer to work " } ,
" 48 " = > { " value " = > " Domestic abuse - previously joint tenancy with partner " } ,
" 49 " = > { " value " = > " Domestic abuse - other " } ,
" 10 " = > { " value " = > " Racial harassment " } ,
" 31 " = > { " value " = > " Hate crime " } ,
" 11 " = > { " value " = > " Other problems with neighbours " } ,
" 34 " = > { " value " = > " Repossession " } ,
" 54 " = > { " value " = > " Could no longer afford rent or mortgage " } ,
" 12 " = > { " value " = > " Property unsuitable because of overcrowding " } ,
" 13 " = > { " value " = > " Property unsuitable because of ill health or disability " } ,
" 14 " = > { " value " = > " Property unsuitable because of poor condition " } ,
" 29 " = > { " value " = > " Under occupation (offered incentive to downsize) " } ,
" 30 " = > { " value " = > " Under occupation (no incentive) " } ,
" 18 " = > { " value " = > " To move to accommodation with support " } ,
" 19 " = > { " value " = > " To move to independent accommodation " } ,
" 20 " = > { " value " = > " Other " } ,
" 47 " = > { " value " = > " Tenant prefers not to say " } ,
" divider " = > { " value " = > true } ,
" 28 " = > { " value " = > " Don’t know " } ,
} . freeze
end
end
end
{
QUESTIONS_FROM_YEAR = {
" 40 " = > { " value " = > " End of assured shorthold tenancy (no fault) " } ,
2026 = > {
" 41 " = > { " value " = > " End of assured shorthold tenancy (eviction or tenant at fault) " } ,
" 50 " = > { " value " = > " End of social or private sector tenancy - no fault " } ,
" 42 " = > { " value " = > " End of fixed term tenancy (no fault) " } ,
" 51 " = > { " value " = > " End of social or private sector tenancy - evicted due to anti-social behaviour (ASB) " } ,
" 43 " = > { " value " = > " End of fixed term tenancy (eviction or tenant at fault) " } ,
" 52 " = > { " value " = > " End of social or private sector tenancy - evicted due to rent arrears " } ,
" 53 " = > { " value " = > " End of social or private sector tenancy - evicted for any other reason " } ,
" 1 " = > { " value " = > " Permanently decanted from another property owned by this landlord " } ,
" 1 " = > { " value " = > " Permanently decanted from another property owned by this landlord " } ,
" 46 " = > { " value " = > " Discharged from long-stay hospital or similar institution " } ,
" 45 " = > { " value " = > " Discharged from prison " } ,
" 2 " = > { " value " = > " Left home country as a refugee " } ,
" 2 " = > { " value " = > " Left home country as a refugee " } ,
" 45 " = > { " value " = > " Discharged from prison " } ,
" 46 " = > { " value " = > " Discharged from long-stay hospital or similar institution " } ,
" 4 " = > { " value " = > " Loss of tied accommodation " } ,
" 4 " = > { " value " = > " Loss of tied accommodation " } ,
" 55 " = > { " value " = > " Leaving foster care or children's home " } ,
" 9 " = > { " value " = > " Asked to leave by family or friends " } ,
" 9 " = > { " value " = > " Asked to leave by family or friends " } ,
" 44 " = > { " value " = > " Death of household member in last settled accommodation " } ,
" 8 " = > { " value " = > " Relationship breakdown (non-violent) with partner " } ,
" 8 " = > { " value " = > " Relationship breakdown (non-violent) with partner " } ,
" 44 " = > { " value " = > " Death of household member in last settled accommodation " } ,
" 16 " = > { " value " = > " To move nearer to family, friends or school " } ,
" 16 " = > { " value " = > " To move nearer to family, friends or school " } ,
" 17 " = > { " value " = > " To move nearer to work " } ,
" 17 " = > { " value " = > " To move nearer to work " } ,
" 48 " = > { " value " = > " Domestic abuse - previously joint tenancy with partner " } ,
" 48 " = > { " value " = > " Domestic abuse - previously joint tenancy with partner " } ,
" 49 " = > { " value " = > " Domestic abuse - other " } ,
" 49 " = > { " value " = > " Domestic abuse - other " } ,
" 31 " = > { " value " = > " Hate crime " } ,
" 56 " = > { " value " = > " Non-domestic violence (e.g. gang violence) " } ,
" 57 " = > { " value " = > " Cuckooing (property being used by others for illegal activity) " } ,
" 10 " = > { " value " = > " Racial harassment " } ,
" 10 " = > { " value " = > " Racial harassment " } ,
" 31 " = > { " value " = > " Hate crime " } ,
" 11 " = > { " value " = > " Other problems with neighbours " } ,
" 11 " = > { " value " = > " Other problems with neighbours " } ,
" 35 " = > { " value " = > " Couldn’t afford fees attached to renewing the tenancy " } ,
" 36 " = > { " value " = > " Couldn’t afford increase in rent " } ,
" 38 " = > { " value " = > " Couldn’t afford rent or mortgage (employment) " } ,
" 37 " = > { " value " = > " Couldn’t afford rent or mortgage (welfare reforms) " } ,
" 39 " = > { " value " = > " Couldn’t afford rent or mortgage (other) " } ,
" 34 " = > { " value " = > " Repossession " } ,
" 34 " = > { " value " = > " Repossession " } ,
" 54 " = > { " value " = > " Could no longer afford rent or mortgage " } ,
" 12 " = > { " value " = > " Property unsuitable because of overcrowding " } ,
" 12 " = > { " value " = > " Property unsuitable because of overcrowding " } ,
" 13 " = > { " value " = > " Property unsuitable because of ill health or disability " } ,
" 13 " = > { " value " = > " Property unsuitable because of ill health or disability " } ,
" 14 " = > { " value " = > " Property unsuitable because of poor condition " } ,
" 14 " = > { " value " = > " Property unsuitable because of poor condition " } ,
" 29 " = > { " value " = > " Under occupation (offered incentive to downsize) " } ,
" 30 " = > { " value " = > " Under occupation (no incentive) " } ,
" 18 " = > { " value " = > " To move to accommodation with support " } ,
" 18 " = > { " value " = > " To move to accommodation with support " } ,
" 19 " = > { " value " = > " To move to independent accommodation " } ,
" 19 " = > { " value " = > " To move to independent accommodation " } ,
" 47 " = > { " value " = > " Tenant prefers not to say " } ,
" 20 " = > { " value " = > " Other " } ,
" divider " = > { " value " = > true } ,
" 28 " = > { " value " = > " Don’t know " } ,
} . freeze ,
2025 = > {
" 50 " = > { " value " = > " End of social or private sector tenancy - no fault " } ,
" 51 " = > { " value " = > " End of social or private sector tenancy - evicted due to anti-social behaviour (ASB) " } ,
" 52 " = > { " value " = > " End of social or private sector tenancy - evicted due to rent arrears " } ,
" 53 " = > { " value " = > " End of social or private sector tenancy - evicted for any other reason " } ,
" 1 " = > { " value " = > " Permanently decanted from another property owned by this landlord " } ,
" 2 " = > { " value " = > " Left home country as a refugee " } ,
" 45 " = > { " value " = > " Discharged from prison " } ,
" 46 " = > { " value " = > " Discharged from long-stay hospital or similar institution " } ,
" 4 " = > { " value " = > " Loss of tied accommodation " } ,
" 55 " = > { " value " = > " Leaving foster care or children's home " } ,
" 9 " = > { " value " = > " Asked to leave by family or friends " } ,
" 8 " = > { " value " = > " Relationship breakdown (non-violent) with partner " } ,
" 44 " = > { " value " = > " Death of household member in last settled accommodation " } ,
" 16 " = > { " value " = > " To move nearer to family, friends or school " } ,
" 17 " = > { " value " = > " To move nearer to work " } ,
" 48 " = > { " value " = > " Domestic abuse - previously joint tenancy with partner " } ,
" 49 " = > { " value " = > " Domestic abuse - other " } ,
" 10 " = > { " value " = > " Racial harassment " } ,
" 31 " = > { " value " = > " Hate crime " } ,
" 11 " = > { " value " = > " Other problems with neighbours " } ,
" 34 " = > { " value " = > " Repossession " } ,
" 54 " = > { " value " = > " Could no longer afford rent or mortgage " } ,
" 12 " = > { " value " = > " Property unsuitable because of overcrowding " } ,
" 13 " = > { " value " = > " Property unsuitable because of ill health or disability " } ,
" 14 " = > { " value " = > " Property unsuitable because of poor condition " } ,
" 29 " = > { " value " = > " Under occupation (offered incentive to downsize) " } ,
" 30 " = > { " value " = > " Under occupation (no incentive) " } ,
" 30 " = > { " value " = > " Under occupation (no incentive) " } ,
" 18 " = > { " value " = > " To move to accommodation with support " } ,
" 19 " = > { " value " = > " To move to independent accommodation " } ,
" 47 " = > { " value " = > " Tenant prefers not to say " } ,
" 20 " = > { " value " = > " Other " } ,
" divider " = > { " value " = > true } ,
" 28 " = > { " value " = > " Don’t know " } ,
} . freeze ,
2024 = > {
" 50 " = > { " value " = > " End of social or private sector tenancy - no fault " } ,
" 51 " = > { " value " = > " End of social or private sector tenancy - evicted due to anti-social behaviour (ASB) " } ,
" 52 " = > { " value " = > " End of social or private sector tenancy - evicted due to rent arrears " } ,
" 53 " = > { " value " = > " End of social or private sector tenancy - evicted for any other reason " } ,
" 1 " = > { " value " = > " Permanently decanted from another property owned by this landlord " } ,
" 2 " = > { " value " = > " Left home country as a refugee " } ,
" 45 " = > { " value " = > " Discharged from prison " } ,
" 46 " = > { " value " = > " Discharged from long-stay hospital or similar institution " } ,
" 4 " = > { " value " = > " Loss of tied accommodation " } ,
" 9 " = > { " value " = > " Asked to leave by family or friends " } ,
" 8 " = > { " value " = > " Relationship breakdown (non-violent) with partner " } ,
" 44 " = > { " value " = > " Death of household member in last settled accommodation " } ,
" 16 " = > { " value " = > " To move nearer to family, friends or school " } ,
" 17 " = > { " value " = > " To move nearer to work " } ,
" 48 " = > { " value " = > " Domestic abuse - previously joint tenancy with partner " } ,
" 49 " = > { " value " = > " Domestic abuse - other " } ,
" 10 " = > { " value " = > " Racial harassment " } ,
" 31 " = > { " value " = > " Hate crime " } ,
" 11 " = > { " value " = > " Other problems with neighbours " } ,
" 34 " = > { " value " = > " Repossession " } ,
" 54 " = > { " value " = > " Could no longer afford rent or mortgage " } ,
" 12 " = > { " value " = > " Property unsuitable because of overcrowding " } ,
" 13 " = > { " value " = > " Property unsuitable because of ill health or disability " } ,
" 14 " = > { " value " = > " Property unsuitable because of poor condition " } ,
" 29 " = > { " value " = > " Under occupation (offered incentive to downsize) " } ,
" 29 " = > { " value " = > " Under occupation (offered incentive to downsize) " } ,
" 30 " = > { " value " = > " Under occupation (no incentive) " } ,
" 18 " = > { " value " = > " To move to accommodation with support " } ,
" 19 " = > { " value " = > " To move to independent accommodation " } ,
" 20 " = > { " value " = > " Other " } ,
" 20 " = > { " value " = > " Other " } ,
" 47 " = > { " value " = > " Tenant prefers not to say " } ,
" 47 " = > { " value " = > " Tenant prefers not to say " } ,
" divider " = > { " value " = > true } ,
" divider " = > { " value " = > true } ,
" 28 " = > { " value " = > " Don’t know " } ,
" 28 " = > { " value " = > " Don’t know " } ,
} . freeze
} . freeze ,
end
} . freeze
QUESTION_NUMBER_FROM_YEAR = { 2023 = > 77 , 2024 = > 76 } . freeze
QUESTION_NUMBER_FROM_YEAR = { 2024 = > 76 } . freeze
end
end