Class: Decidim::Forms::Admin::QuestionMatrixRowForm

Inherits:
Decidim::Form
  • Object
show all
Includes:
TranslatableAttributes
Defined in:
app/forms/decidim/forms/admin/question_matrix_row_form.rb

Overview

This class holds a Form to update questionnaire question matrixes from Decidim’s admin panel.

Instance Method Summary collapse

Instance Method Details

#to_paramObject



18
19
20
21
22
# File 'app/forms/decidim/forms/admin/question_matrix_row_form.rb', line 18

def to_param
  return id if id.present?

  "questionnaire-question-matrix-row-id"
end