Sha256: ac34494453b934a3f0c952e08886d5e1ce20170ebda2e7a8225891a27fdd8014
Contents?: true
Size: 446 Bytes
Versions: 14
Compression:
Stored size: 446 Bytes
Contents
# frozen_string_literal: true module Decidim module Forms # The data store for a QuestionMatrix in the Decidim::Forms component. class QuestionMatrixRow < Forms::ApplicationRecord include Decidim::TranslatableResource translatable_fields :body belongs_to :question, class_name: "Question", foreign_key: "decidim_question_id" delegate :answer_options, :mandatory, :max_choices, to: :question end end end
Version data entries
14 entries across 14 versions & 1 rubygems