Sha256: b424090908a6a0455ddce7fe0e3e606e85ef314f4b0d3bd3e7e47431726936c3

Contents?: true

Size: 414 Bytes

Versions: 1

Compression:

Stored size: 414 Bytes

Contents

- 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] = value == v.to_s
      label.radio
        input name=name type="radio" value=v *attrs = l
      |  

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rear-0.2.0 lib/rear/templates/filters/radio.slim