Sha256: a9efe3c42e883943cb08055eb9e5c82833d84e659bbfb722dee5cc63433d4730
Contents?: true
Size: 766 Bytes
Versions: 58
Compression:
Stored size: 766 Bytes
Contents
# frozen_string_literal: true module Decidim module Conferences module Admin # A form object used to update conference diploma configuration # from the admin dashboard # class DiplomaForm < Form include Decidim::HasUploadValidations mimic :conference attribute :main_logo attribute :signature attribute :signature_name, String attribute :sign_date, Decidim::Attributes::LocalizedDate validates :signature_name, :sign_date, :main_logo, :signature, presence: true validates :main_logo, passthru: { to: Decidim::Conference } validates :signature, passthru: { to: Decidim::Conference } alias organization current_organization end end end end
Version data entries
58 entries across 58 versions & 1 rubygems