Module: AdministrateBatchActions::Helpers
- Defined in:
- lib/administrate_batch_actions/helpers.rb
Instance Method Summary collapse
- #administrate_batch_actions_button(name, path, html_options = {class: 'button'}) ⇒ Object
- #administrate_batch_actions_checkbox(value) ⇒ Object
- #administrate_batch_actions_select_all ⇒ Object
Instance Method Details
#administrate_batch_actions_button(name, path, html_options = {class: 'button'}) ⇒ Object
3 4 5 6 |
# File 'lib/administrate_batch_actions/helpers.rb', line 3 def (name, path, = {class: 'button'}) render partial: 'shared/administrate_batch_actions/button', locals: { name: name, path: path, html_options: } end |
#administrate_batch_actions_checkbox(value) ⇒ Object
12 13 14 15 |
# File 'lib/administrate_batch_actions/helpers.rb', line 12 def administrate_batch_actions_checkbox(value) render partial: 'shared/administrate_batch_actions/checkbox', locals: { value: value } end |
#administrate_batch_actions_select_all ⇒ Object
8 9 10 |
# File 'lib/administrate_batch_actions/helpers.rb', line 8 def administrate_batch_actions_select_all render partial: 'shared/administrate_batch_actions/select_all' end |