Sha256: 84973c83dd4a9f2ced6b288628fe177a16321d13bfd4fa0dc5a83f6439786f20
Contents?: true
Size: 792 Bytes
Versions: 3
Compression:
Stored size: 792 Bytes
Contents
# frozen_string_literal: true module Hyrax module Forms ## # A form for +Hyrax::FileSet+s. class FileSetForm < Hyrax::Forms::ResourceForm include Hyrax::FormFields(:core_metadata) # The fields in +:file_set_metadata+ were hardcoded into this form in a # previous version of Hyrax, but ideally in the future this metadata will # be configurable. include Hyrax::FormFields(:file_set_metadata) include Hyrax::DepositAgreementBehavior include Hyrax::ContainedInWorksBehavior include Hyrax::LeaseabilityBehavior include Hyrax::PermissionBehavior property :representative_id, type: Valkyrie::Types::String, writeable: false property :thumbnail_id, type: Valkyrie::Types::String, writeable: false end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hyrax-5.0.1 | app/forms/hyrax/forms/file_set_form.rb |
hyrax-5.0.0 | app/forms/hyrax/forms/file_set_form.rb |
hyrax-5.0.0.rc3 | app/forms/hyrax/forms/file_set_form.rb |