You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
750 B
21 lines
750 B
class Form::Lettings::Questions::LettingAllocation < ::Form::Question |
|
def initialize(id, hsh, page) |
|
super |
|
@id = "letting_allocation" |
|
@check_answer_label = "Allocation system" |
|
@header = "How was this letting allocated?" |
|
@type = "checkbox" |
|
@check_answers_card_number = 0 |
|
@hint_text = "Select all that apply." |
|
@answer_options = ANSWER_OPTIONS |
|
@question_number = 84 |
|
end |
|
|
|
ANSWER_OPTIONS = { |
|
"cbl" => { "value" => "Choice-based lettings (CBL)" }, |
|
"cap" => { "value" => "Common Allocation Policy (CAP)" }, |
|
"chr" => { "value" => "Common housing register (CHR)" }, |
|
"divider" => { "value" => true }, |
|
"letting_allocation_unknown" => { "value" => "None of these allocation systems" }, |
|
}.freeze |
|
end
|
|
|