Sha256: 9912746a1b03dcd18abd7e9dfd091ce3864694e06ff0a96a1ebe147992826850

Contents?: true

Size: 344 Bytes

Versions: 10

Compression:

Stored size: 344 Bytes

Contents

module Georgia
  module CheckboxesHelper

    def checkboxable_tag checkboxable
      check_box_tag(dom_id(checkboxable), nil, nil, data: {checkbox: 'child', state: 'unchecked', id: checkboxable.id})
    end

    def checkboxable_all_tag name
      check_box_tag(name, nil, false, data: {checkbox: 'all', state: 'unchecked'})
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
georgia-0.8.0 app/helpers/georgia/checkboxes_helper.rb
georgia-0.7.8 app/helpers/georgia/checkboxes_helper.rb
georgia-0.7.7 app/helpers/georgia/checkboxes_helper.rb
georgia-0.7.6 app/helpers/georgia/checkboxes_helper.rb
georgia-0.7.5 app/helpers/georgia/checkboxes_helper.rb
georgia-0.7.4 app/helpers/georgia/checkboxes_helper.rb
georgia-0.7.3 app/helpers/georgia/checkboxes_helper.rb
georgia-0.7.2 app/helpers/georgia/checkboxes_helper.rb
georgia-0.7.1 app/helpers/georgia/checkboxes_helper.rb
georgia-0.7.0 app/helpers/georgia/checkboxes_helper.rb