Sha256: 124df6e73038698222304998d8d2a17fa60648be910371d0c859e27839df9f3e

Contents?: true

Size: 365 Bytes

Versions: 5

Compression:

Stored size: 365 Bytes

Contents

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

  def render_check_all
    unless @disable_select_all || params[:controller].match("my/collections")
      render partial: 'batch_edits/check_all'
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sufia-4.2.0 app/helpers/batch_edits_helper.rb
sufia-4.1.0 app/helpers/batch_edits_helper.rb
sufia-4.0.1 app/helpers/batch_edits_helper.rb
sufia-4.0.0 app/helpers/batch_edits_helper.rb
sufia-4.0.0.rc2 app/helpers/batch_edits_helper.rb