Sha256: cf768b3af5f940497b7ca3a572f3cad5480398b21059258eb415d802e06e5557
Contents?: true
Size: 496 Bytes
Versions: 16
Compression:
Stored size: 496 Bytes
Contents
# frozen_string_literal: true module Decidim module Plans # A plan section is a record that stores the question data and order of # items that the users need to fill for each plan. The actual contents of # the plans are stored in the Decidim::Plans::Content records. class Section < Plans::ApplicationRecord include Decidim::HasComponent TYPES = %w(field_text_multiline field_text).freeze validates :section_type, inclusion: { in: TYPES } end end end
Version data entries
16 entries across 16 versions & 1 rubygems