Sha256: e8dd4c3dcee11475acfb5eb6c1d7a8a6714e6c94d3f7f9a0bf50ba619472afa6
Contents?: true
Size: 482 Bytes
Versions: 1
Compression:
Stored size: 482 Bytes
Contents
- values = value.is_a?(Array) ? value : [] - if setup[:decorative?] - attrs[:onclick] = "new Rear.Filters('%s', '%s').update();" % \ [dom_id, route(:html_filters, true, dom_id: dom_id)] .input-prepend.input-append span.add-on = setup[:label] span.add-on - filter_setup_to_options(setup).each_pair do |v,l| - attrs[:checked] = values.include?(v.to_s) label.checkbox input name=('%s[]' % name) type="checkbox" value=v *attrs = l |
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rear-0.2.0 | lib/rear/templates/filters/checkbox.slim |