Sha256: 0ae213ee72eeb275e3509c0ebe009e178bc1ee0c89c1dca5d8edb378506f1cc8

Contents?: true

Size: 436 Bytes

Versions: 1

Compression:

Stored size: 436 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
  field.options.each do |key, value|
    concat radio_button_tag key, value, field.value == value, field.attributes.except(:class)
  end
  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/_radio_group.html.erb