|
|
|
@ -18,6 +18,7 @@ class Form::Lettings::Questions::NationalityAll < ::Form::Question |
|
|
|
|
|
|
|
|
|
|
|
def label_from_value(value) |
|
|
|
def label_from_value(value) |
|
|
|
return unless value |
|
|
|
return unless value |
|
|
|
|
|
|
|
return "Tenant prefers not to say" if value.to_i.zero? |
|
|
|
|
|
|
|
|
|
|
|
answer_options[value.to_s]["name"] |
|
|
|
answer_options[value.to_s]["name"] |
|
|
|
end |
|
|
|
end |
|
|
|
|