Sha256: e5e8cede3f69bdee12f9c33305225430203f07b0b7185759ef89d9da6b9e9d65

Contents?: true

Size: 581 Bytes

Versions: 7

Compression:

Stored size: 581 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)

      property :representative_id, type: Valkyrie::Types::String
      property :thumbnail_id, type: Valkyrie::Types::String
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hyrax-5.0.0.rc1 app/forms/hyrax/forms/file_set_form.rb
hyrax-3.6.0 app/forms/hyrax/forms/file_set_form.rb
hyrax-4.0.0 app/forms/hyrax/forms/file_set_form.rb
hyrax-4.0.0.rc3 app/forms/hyrax/forms/file_set_form.rb
hyrax-4.0.0.rc2 app/forms/hyrax/forms/file_set_form.rb
hyrax-4.0.0.rc1 app/forms/hyrax/forms/file_set_form.rb
hyrax-3.5.0 app/forms/hyrax/forms/file_set_form.rb