Sha256: d84533d1e23ee99a9ad0ec28a7c6c4e17a54e1002ee36db47d4de89d39d728b0

Contents?: true

Size: 405 Bytes

Versions: 2

Compression:

Stored size: 405 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_area_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_area.html.erb
hungryform-rails-0.0.5 app/views/hungryform/_text_area.html.erb