module Adminterface::Extensions::BatchActions::ResourceSelectionToggleCell
Public Instance Methods
build(label_text = "")
click to toggle source
# File lib/adminterface/extensions/batch_actions/views/selection_cells.rb, line 5 def build(label_text = "") if label_text.present? div class: "form-check" do input_html label label_text, class: "form-check-label" end else input_html end end
input_html()
click to toggle source
# File lib/adminterface/extensions/batch_actions/views/selection_cells.rb, line 16 def input_html input type: "checkbox", id: "collection_selection_toggle_all", name: "collection_selection_toggle_all", class: "toggle_all form-check-input" end