Sha256: eaf99b63e8da940dbcfdca181ef749bc3049a095c56fc07eb7f1db68e82a5fd8

Contents?: true

Size: 418 Bytes

Versions: 1

Compression:

Stored size: 418 Bytes

Contents

<%= content_tag :div, id: "#{field.name}_wrapper", class: field.html_class, 'data-dependency' => field.dependency_json do

  concat label_tag field.name, field.label << ("*" if field.required?).to_s
  concat select_tag field.name, options_for_select(field.options.invert, field.value), field.attributes.except(:class)
  unless field.error.empty?
    concat content_tag :span, field.error, class: 'error' 
  end

end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hungryform-rails-0.0.3 app/views/hungryform/_select_field.html.erb