Module: Georgia::CheckboxesHelper
- Defined in:
- app/helpers/georgia/checkboxes_helper.rb
Instance Method Summary collapse
Instance Method Details
#checkboxable_all_tag(name) ⇒ Object
8 9 10 |
# File 'app/helpers/georgia/checkboxes_helper.rb', line 8 def checkboxable_all_tag name check_box_tag(name, nil, false, data: {checkbox: 'all', state: 'unchecked'}) end |
#checkboxable_tag(checkboxable) ⇒ Object
4 5 6 |
# File 'app/helpers/georgia/checkboxes_helper.rb', line 4 def checkboxable_tag checkboxable check_box_tag(dom_id(checkboxable), nil, nil, data: {checkbox: 'child', state: 'unchecked', id: checkboxable.id}) end |