Sha256: 7ea77d4f614523477b8fb928afc58b65bbc22ea4de0c2b16899f6d99224f5e04

Contents?: true

Size: 441 Bytes

Versions: 10

Compression:

Stored size: 441 Bytes

Contents

# View Helpers for Hydra Batch Edit functionality
module BatchEditsHelper
  # Displays the delete button for batch editing
  def batch_delete
    render 'hyrax/batch_edits/delete_selected'
  end

  # Displays a "check all" button with a dropdown that has "Select None"
  # and "Select current page" actions
  def render_check_all
    return if params[:controller] == "hyrax/my/collections"
    render 'hyrax/batch_edits/check_all'
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
hyrax-1.1.1 app/helpers/batch_edits_helper.rb
hyrax-1.1.0 app/helpers/batch_edits_helper.rb
hyrax-1.0.5 app/helpers/batch_edits_helper.rb
hyrax-1.0.4 app/helpers/batch_edits_helper.rb
hyrax-1.0.3 app/helpers/batch_edits_helper.rb
hyrax-1.0.2 app/helpers/batch_edits_helper.rb
hyrax-1.0.1 app/helpers/batch_edits_helper.rb
hyrax-1.0.0.rc2 app/helpers/batch_edits_helper.rb
hyrax-1.0.0.rc1 app/helpers/batch_edits_helper.rb
test_hyrax-0.0.1.alpha app/helpers/batch_edits_helper.rb