Sha256: 0eafe22cf29220b9311526af5974b8703f2d633744b860b7e39c049a2a64a476

Contents?: true

Size: 540 Bytes

Versions: 6

Compression:

Stored size: 540 Bytes

Contents

%ul.pointer-radio-list
  - options = card.option_names
  - if options.empty?
    no options
  - else
    - input_name = "pointer_radio_button-#{card.key}"
    - options.each do |option_name|
      - checked = option_name == card.item_name
      - id = "pointer-radio-#{option_name.to_name.key}"
      %li.pointer-radio.radio
        = radio_button_tag input_name, option_name, checked,
                           id: id, class: "pointer-radio-button"
        = option_label option_name, id
        = option_description "radio", option_name

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
card-1.96.1 mod/pointer/set/abstract/02_pointer/html_views/radio_input.haml
card-1.96.0 mod/pointer/set/abstract/02_pointer/html_views/radio_input.haml
card-1.95.3 mod/pointer/set/abstract/02_pointer/html_views/radio_input.haml
card-1.95.2 mod/pointer/set/abstract/02_pointer/html_views/radio_input.haml
card-1.95.1 mod/pointer/set/abstract/02_pointer/html_views/radio_input.haml
card-1.95.0 mod/pointer/set/abstract/02_pointer/html_views/radio_input.haml