Sha256: a893ee6bfad6186327bdbdf5825b82d27e83a402966d513455b8fd16c60982de

Contents?: true

Size: 450 Bytes

Versions: 6

Compression:

Stored size: 450 Bytes

Contents

# frozen_string_literal: true
# View Helpers for Hydra Batch Edit functionality
module Hyrax
  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
      render 'hyrax/batch_edits/check_all'
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hyrax-3.0.2 app/helpers/hyrax/batch_edits_helper.rb
hyrax-3.0.1 app/helpers/hyrax/batch_edits_helper.rb
hyrax-3.0.0 app/helpers/hyrax/batch_edits_helper.rb
hyrax-3.0.0.pre.rc4 app/helpers/hyrax/batch_edits_helper.rb
hyrax-3.0.0.pre.rc3 app/helpers/hyrax/batch_edits_helper.rb
hyrax-3.0.0.pre.rc2 app/helpers/hyrax/batch_edits_helper.rb