Module: ApplicantsHelper
- Defined in:
- app/helpers/applicants_helper.rb
Instance Method Summary collapse
Instance Method Details
#answer_input_options(answer) ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'app/helpers/applicants_helper.rb', line 2 def (answer) = {} if answer.answer_type == 'text' [:rows] = 6 end if answer.character_limit? [:maxlength] = answer.character_limit end end |