Sha256: badbfbd55b7251526da6d6b36862f2d8def6709097c5bd83c0a60390c0831787

Contents?: true

Size: 504 Bytes

Versions: 36

Compression:

Stored size: 504 Bytes

Contents

module Hyrax
  module Forms
    module Admin
      class CollectionTypeParticipantForm
        include ActiveModel::Model
        attr_accessor :collection_type_participant
        validates :agent_id, presence: true
        validates :agent_type, presence: true
        validates :access, presence: true
        validates :hyrax_collection_type_id, presence: true

        delegate :agent_id, :agent_type, :access, :hyrax_collection_type_id, to: :collection_type_participant
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
hyrax-2.9.6 app/forms/hyrax/forms/admin/collection_type_participant_form.rb
hyrax-2.9.5 app/forms/hyrax/forms/admin/collection_type_participant_form.rb
hyrax-2.9.4 app/forms/hyrax/forms/admin/collection_type_participant_form.rb
hyrax-2.9.3 app/forms/hyrax/forms/admin/collection_type_participant_form.rb
hyrax-2.9.2 app/forms/hyrax/forms/admin/collection_type_participant_form.rb
hyrax-2.9.1 app/forms/hyrax/forms/admin/collection_type_participant_form.rb
hyrax-2.9.0 app/forms/hyrax/forms/admin/collection_type_participant_form.rb
hyrax-2.8.0 app/forms/hyrax/forms/admin/collection_type_participant_form.rb
hyrax-2.7.2 app/forms/hyrax/forms/admin/collection_type_participant_form.rb
hyrax-2.7.1 app/forms/hyrax/forms/admin/collection_type_participant_form.rb
hyrax-2.7.0 app/forms/hyrax/forms/admin/collection_type_participant_form.rb
hyrax-2.6.0 app/forms/hyrax/forms/admin/collection_type_participant_form.rb
hyrax-3.0.0.pre.rc1 app/forms/hyrax/forms/admin/collection_type_participant_form.rb
hyrax-3.0.0.pre.beta3 app/forms/hyrax/forms/admin/collection_type_participant_form.rb
hyrax-2.5.1 app/forms/hyrax/forms/admin/collection_type_participant_form.rb
hyrax-2.5.0 app/forms/hyrax/forms/admin/collection_type_participant_form.rb
hyrax-3.0.0.pre.beta2 app/forms/hyrax/forms/admin/collection_type_participant_form.rb
hyrax-2.4.1 app/forms/hyrax/forms/admin/collection_type_participant_form.rb
hyrax-3.0.0.pre.beta1 app/forms/hyrax/forms/admin/collection_type_participant_form.rb
hyrax-2.4.0 app/forms/hyrax/forms/admin/collection_type_participant_form.rb