Module: BatchSelectHelper
- Defined in:
- app/helpers/batch_select_helper.rb
Overview
View Helpers for Hydra Batch Edit functionality
Instance Method Summary collapse
-
#button_for_add_to_batch(document) ⇒ Object
Displays the button to select/deselect items for your batch.
Instance Method Details
#button_for_add_to_batch(document) ⇒ Object
Displays the button to select/deselect items for your batch. Call this in the index partial that’s rendered for each search result.
5 6 7 |
# File 'app/helpers/batch_select_helper.rb', line 5 def (document) render partial: '/batch_select/add_button', locals: { document: document } end |