Sha256: 318223b7174b621fa0eb872a273a4cbd6ba8d43c6c228b86bce914fd162b5a53

Contents?: true

Size: 722 Bytes

Versions: 10

Compression:

Stored size: 722 Bytes

Contents

module Hyrax::Forms
  class FileSetEditForm
    include HydraEditor::Form
    include HydraEditor::Form::Permissions

    delegate :depositor, :permissions, to: :model

    self.required_fields = [:title, :creator, :keyword, :rights]

    self.model_class = ::FileSet

    self.terms = [:resource_type, :title, :creator, :contributor, :description,
                  :keyword, :rights, :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

10 entries across 10 versions & 2 rubygems

Version Path
hyrax-1.1.1 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-1.1.0 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-1.0.5 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-1.0.4 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-1.0.3 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-1.0.2 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-1.0.1 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-1.0.0.rc2 app/forms/hyrax/forms/file_set_edit_form.rb
hyrax-1.0.0.rc1 app/forms/hyrax/forms/file_set_edit_form.rb
test_hyrax-0.0.1.alpha app/forms/hyrax/forms/file_set_edit_form.rb