Sha256: 76fb988790c1f644cd0fec9901d67e31d0a42d0d1c6ec503901a0275114de4a2
Contents?: true
Size: 399 Bytes
Versions: 2
Compression:
Stored size: 399 Bytes
Contents
<%= content_tag :div, id: "#{field.name}_wrapper", class: field.wrapper_class, 'data-dependency' => field.dependency_json do -%> <%= label_tag field.name, field.label << ("*" if field.required?).to_s %> <%= text_field_tag field.name, field.value, field.input_attributes %> <% unless field.error.empty? -%> <%= content_tag :span, field.error, class: 'error' %> <%end -%> <% end -%>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hungryform-rails-0.0.6 | app/views/hungryform/_text_field.html.erb |
hungryform-rails-0.0.5 | app/views/hungryform/_text_field.html.erb |