Sha256: 1794f4653a516f1c3554d2fedc36a3ad89b2db1e7096ccef0ed86eb845e256df
Contents?: true
Size: 600 Bytes
Versions: 6
Compression:
Stored size: 600 Bytes
Contents
# frozen_string_literal: true module Decidim module Proposals module Admin class ProposalStateForm < Decidim::Form include Decidim::TranslatableAttributes mimic :proposal_state translatable_attribute :title, String translatable_attribute :announcement_title, String attribute :bg_color, String, default: "#F3F4F7" attribute :text_color, String, default: "#3E4C5C" validates :title, translatable_presence: true validates :bg_color, presence: true validates :text_color, presence: true end end end end
Version data entries
6 entries across 6 versions & 1 rubygems