Sha256: 9407305024a10e8690e1c9d47c11c8985843422c76064cc3b6b870c07ad21d46

Contents?: true

Size: 414 Bytes

Versions: 17

Compression:

Stored size: 414 Bytes

Contents

# View Helpers for Hydra Batch Edit functionality
module BatchSelectHelper
  # Displays the button to select/deselect items for your batch.  Call this in the index partial that's rendered for each search result.
  # @param [Hash] document the Hash (aka Solr hit) for one Solr document
  def button_for_add_to_batch(document)
    render partial: '/batch_select/add_button', locals: { document: document }
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
curation_concerns-1.7.8 app/helpers/batch_select_helper.rb
curation_concerns-1.7.7 app/helpers/batch_select_helper.rb
curation_concerns-2.0.0 app/helpers/batch_select_helper.rb
curation_concerns-2.0.0.rc2 app/helpers/batch_select_helper.rb
curation_concerns-1.7.6 app/helpers/batch_select_helper.rb
curation_concerns-1.7.5 app/helpers/batch_select_helper.rb
curation_concerns-1.7.4 app/helpers/batch_select_helper.rb
curation_concerns-1.7.3 app/helpers/batch_select_helper.rb
curation_concerns-1.7.2 app/helpers/batch_select_helper.rb
curation_concerns-2.0.0.rc1 app/helpers/batch_select_helper.rb
curation_concerns-1.7.1 app/helpers/batch_select_helper.rb
curation_concerns-1.7.0 app/helpers/batch_select_helper.rb
curation_concerns-1.7.0.beta1 app/helpers/batch_select_helper.rb
curation_concerns-1.6.3 app/helpers/batch_select_helper.rb
curation_concerns-1.6.2 app/helpers/batch_select_helper.rb
curation_concerns-1.6.1 app/helpers/batch_select_helper.rb
curation_concerns-1.6.0 app/helpers/batch_select_helper.rb