Sha256: aaf88273f33c3b2e1b4324c09de9f137aff89148aebb55a2ff893c5cdff2bb90
Contents?: true
Size: 463 Bytes
Versions: 90
Compression:
Stored size: 463 Bytes
Contents
# frozen_string_literal: true module Decidim module Admin # A form object to create or update attachment collections. class AttachmentCollectionForm < Form include TranslatableAttributes translatable_attribute :name, String translatable_attribute :description, String attribute :weight, Integer, default: 0 mimic :attachment_collection validates :name, :description, translatable_presence: true end end end
Version data entries
90 entries across 90 versions & 1 rubygems