Class: Decidim::Forms::Admin::AnswerOptionForm
- Inherits:
-
Decidim::Form
- Object
- Decidim::Form
- Decidim::Forms::Admin::AnswerOptionForm
- Includes:
- TranslatableAttributes
- Defined in:
- app/forms/decidim/forms/admin/answer_option_form.rb
Overview
This class holds a Form to update answer options
Instance Method Summary collapse
Instance Method Details
#to_param ⇒ Object
17 18 19 20 21 |
# File 'app/forms/decidim/forms/admin/answer_option_form.rb', line 17 def to_param return id if id.present? "questionnaire-question-answer-option-id" end |