Sha256: 0d8aa79d87fec740c4bd58c8128cbb6a388d21dddace022365cdbe68f85cbd9b

Contents?: true

Size: 402 Bytes

Versions: 5

Compression:

Stored size: 402 Bytes

Contents

= form_field(radio_buttons, :index => index, :prefix => prefix, :class => "radio-buttons") do |f|
  = f.text_field :label, :title => "Radio Buttons Label", :placeholder => "Radio Buttons Label", :id => nil
  = f.required_field_checkbox

  %ul.options
    %li
      %label Options:

    - radio_buttons.options(true).each do |option|
      %li= text_field_tag "#{prefix}[options][]", option, :id => nil

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wheelhouse-forms-1.2.2 app/views/forms/forms/_radio_buttons.haml
wheelhouse-forms-1.2.1 app/views/forms/forms/_radio_buttons.haml
wheelhouse-forms-1.2 app/views/forms/forms/_radio_buttons.haml
wheelhouse-forms-1.1 app/views/forms/forms/_radio_buttons.haml
wheelhouse-forms-1.0 app/views/forms/forms/_radio_buttons.haml