Sha256: 41e98d63f8cfef707ca7a08a0643b82b1beb94765d0df4e7bc9194eb1c96d130

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 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 text_field_tag field.name, 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/_text_field.html.erb