Class: Decidim::Forms::ResponseChoiceForm
- Inherits:
-
Decidim::Form
- Object
- Decidim::Form
- Decidim::Forms::ResponseChoiceForm
- Defined in:
- app/forms/decidim/forms/response_choice_form.rb
Overview
This class holds a Form to save the chosen option for an response
Instance Method Summary collapse
Instance Method Details
#map_model(model) ⇒ Object
15 16 17 18 |
# File 'app/forms/decidim/forms/response_choice_form.rb', line 15 def map_model(model) self.response_option_id = model.decidim_response_option_id self.matrix_row_id = model.decidim_question_matrix_row_id end |