Sha256: fb581d6de2d4002578162a1da929cd204366bad220ac127f98e15f49027340c1

Contents?: true

Size: 416 Bytes

Versions: 5

Compression:

Stored size: 416 Bytes

Contents

= form_field(select_field, :index => index, :prefix => prefix, :class => "select-field", :icon => "select") do |f|
  = f.text_field :label, :title => "Select Field Label", :placeholder => "Select Field Label", :id => nil
  = f.required_field_checkbox

  %ul.options
    %li
      %label Options:

    - select_field.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/_select_field.haml
wheelhouse-forms-1.2.1 app/views/forms/forms/_select_field.haml
wheelhouse-forms-1.2 app/views/forms/forms/_select_field.haml
wheelhouse-forms-1.1 app/views/forms/forms/_select_field.haml
wheelhouse-forms-1.0 app/views/forms/forms/_select_field.haml