Module: BatchEditsHelper
- Defined in:
- app/helpers/batch_edits_helper.rb
Overview
View Helpers for Hydra Batch Edit functionality
Instance Method Summary collapse
-
#batch_delete ⇒ Object
Displays the delete button for batch editing.
-
#render_check_all ⇒ Object
Displays a “check all” button with a dropdown that has “Select None” and “Select current page” actions.
Instance Method Details
#batch_delete ⇒ Object
Displays the delete button for batch editing
4 5 6 |
# File 'app/helpers/batch_edits_helper.rb', line 4 def batch_delete render '/batch_edits/delete_selected' end |
#render_check_all ⇒ Object
Displays a “check all” button with a dropdown that has “Select None” and “Select current page” actions
10 11 12 13 |
# File 'app/helpers/batch_edits_helper.rb', line 10 def render_check_all return if params[:controller] == "my/collections" render 'batch_edits/check_all' end |