Sha256: 44f73bc87953d1f598d3e429d3fc892de8c870dc7a87c79c9a4dd9c43baac2fe
Contents?: true
Size: 454 Bytes
Versions: 71
Compression:
Stored size: 454 Bytes
Contents
# frozen_string_literal: true module Decidim module Admin # A form object to create or update pages. class StaticPageTopicForm < Form include TranslatableAttributes translatable_attribute :title, String translatable_attribute :description, String attribute :show_in_footer, Boolean attribute :weight, Integer mimic :static_page_topic validates :title, translatable_presence: true end end end
Version data entries
71 entries across 71 versions & 1 rubygems