Sha256: abda1b3a053a7ab5792068b82764cfd83f434ea3a64d80a821aa1d431291505c

Contents?: true

Size: 459 Bytes

Versions: 2

Compression:

Stored size: 459 Bytes

Contents

module Sufia::Forms
  class CollectionForm < CurationConcerns::Forms::CollectionEditForm
    delegate :id, to: :model

    def primary_terms
      [:title]
    end

    def secondary_terms
      [:creator,
       :contributor,
       :description,
       :keyword,
       :rights,
       :publisher,
       :date_created,
       :subject,
       :language,
       :identifier,
       :based_near,
       :related_url,
       :resource_type]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sufia-7.0.0.beta4 app/forms/sufia/forms/collection_form.rb
sufia-7.0.0.beta3 app/forms/sufia/forms/collection_form.rb