Browse Source

feat: property information numbering

pull/1381/head
natdeanlewissoftwire 3 years ago
parent
commit
8122b8b080
  1. 1
      app/models/form/sales/questions/property_building_type.rb
  2. 1
      app/models/form/sales/questions/property_number_of_bedrooms.rb
  3. 1
      app/models/form/sales/questions/property_unit_type.rb
  4. 1
      app/models/form/sales/questions/property_wheelchair_accessible.rb

1
app/models/form/sales/questions/property_building_type.rb

@ -6,6 +6,7 @@ class Form::Sales::Questions::PropertyBuildingType < ::Form::Question
@header = "What type of building is the property?"
@type = "radio"
@answer_options = ANSWER_OPTIONS
@question_number = 13
end
ANSWER_OPTIONS = {

1
app/models/form/sales/questions/property_number_of_bedrooms.rb

@ -9,5 +9,6 @@ class Form::Sales::Questions::PropertyNumberOfBedrooms < ::Form::Question
@width = 10
@min = 1
@max = 9
@question_number = 11
end
end

1
app/models/form/sales/questions/property_unit_type.rb

@ -6,6 +6,7 @@ class Form::Sales::Questions::PropertyUnitType < ::Form::Question
@header = "What type of unit is the property?"
@type = "radio"
@answer_options = ANSWER_OPTIONS
@question_number = 12
end
ANSWER_OPTIONS = {

1
app/models/form/sales/questions/property_wheelchair_accessible.rb

@ -6,6 +6,7 @@ class Form::Sales::Questions::PropertyWheelchairAccessible < ::Form::Question
@header = "Is the property build or adapted to wheelchair-user standards?"
@type = "radio"
@answer_options = ANSWER_OPTIONS
@question_number = 17
end
ANSWER_OPTIONS = {

Loading…
Cancel
Save