Sha256: 802271c089475684202ff98ab995934586fa1712b3d99165028953e4a28f03c6

Contents?: true

Size: 744 Bytes

Versions: 14

Compression:

Stored size: 744 Bytes

Contents

# frozen_string_literal: true
module Hyrax::Forms
  class FileSetEditForm
    include HydraEditor::Form
    include HydraEditor::Form::Permissions

    delegate :depositor, :permissions, to: :model

    self.required_fields = [:title, :creator, :license]

    self.model_class = ::FileSet

    self.terms = [:resource_type, :title, :creator, :contributor, :description,
                  :keyword, :license, :publisher, :date_created, :subject, :language,
                  :identifier, :based_near, :related_url,
                  :visibility_during_embargo, :visibility_after_embargo, :embargo_release_date,
                  :visibility_during_lease, :visibility_after_lease, :lease_expiration_date,
                  :visibility]
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
hyrax-4.0.0.beta2 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-3.4.2 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-4.0.0.beta1 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-3.4.1 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-3.4.0 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-3.3.0 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-3.2.0 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-3.1.0 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-3.0.2 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-3.0.1 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-3.0.0 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-3.0.0.pre.rc4 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-3.0.0.pre.rc3 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-3.0.0.pre.rc2 app/forms/hyrax/forms/file_set_edit_form.rb