Sha256: 94016ee563ed1eb123d5859412c871e4f050988412665954d5f4ad3fea664db7
Contents?: true
Size: 550 Bytes
Versions: 19
Compression:
Stored size: 550 Bytes
Contents
# frozen_string_literal: true module Decidim module Meetings module Admin # This class holds a Form to update meeting services class MeetingServiceForm < Decidim::Form include TranslatableAttributes attribute :deleted, Boolean, default: false translatable_attribute :title, String translatable_attribute :description, String validates :title, translatable_presence: true, unless: :deleted def to_param id || "meeting-service-id" end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems