app/views/hungryform/_group.html.erb in hungryform-rails-0.0.4 vs app/views/hungryform/_group.html.erb in hungryform-rails-0.0.5

- old
+ new

@@ -1,7 +1,7 @@ -<%= content_tag :div, id: "#{field.name}_wrapper", class: field.wrapper_class, 'data-dependency' => field.dependency_json do +<%= content_tag :div, id: "#{field.name}_wrapper", class: field.wrapper_class, 'data-dependency' => field.dependency_json do -%> - field.elements.each do |el| - concat render partial: "#{views_prefix}/#{el.class.name.demodulize.underscore}", locals: { field: el, views_prefix: views_prefix } - end + <% field.elements.each do |el| -%> + <%= render partial: "#{views_prefix}/#{el.class.name.demodulize.underscore}", locals: { field: el, views_prefix: views_prefix } -%> + <% end -%> -end %> +<% end -%> \ No newline at end of file