Sha256: ee8d3cd0b83e33d88a0a8da65d86202a1083c1c776b2b9e35ac1d03e739c90e1
Contents?: true
Size: 533 Bytes
Versions: 19
Compression:
Stored size: 533 Bytes
Contents
module Effective module EffectiveDatatable module Dsl module BulkActions # These get added into the view as helpers # To be called inside datatable { bulk_actions_column do .. end } def bulk_action(*args) concat content_tag(:li, link_to(*args)) end def bulk_action_divider concat content_tag(:li, '', class: 'divider', role: 'separator') end def bulk_action_content(&block) concat block.call end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems