Browse Source

redundant method - part 3

pull/780/head
JG 3 years ago
parent
commit
639a8200b5
  1. 1
      app/models/form/question.rb
  2. 1
      app/models/form/setup/questions/location_id.rb

1
app/models/form/question.rb

@ -4,7 +4,6 @@ class Form::Question
:conditional_for, :readonly, :answer_options, :page, :check_answer_label,
:inferred_answers, :hidden_in_check_answers, :inferred_check_answers_value,
:guidance_partial, :prefix, :suffix, :requires_js, :fields_added, :derived,
:extra_check_answer_value
def initialize(id, hsh, page)
@id = id

1
app/models/form/setup/questions/location_id.rb

@ -5,7 +5,6 @@ class Form::Setup::Questions::LocationId < ::Form::Question
@header = "Which location is this log for?"
@hint_text = ""
@type = "radio"
@extra_check_answer_value = "location_admin_district"
@answer_options = answer_options
@inferred_answers = {
"location.name": {

Loading…
Cancel
Save