<div class="map-block back"> <h4><span><%= info.title %></span></h4> <div class="form-horizontal"> <% info.attribute_fields.each do |af|%> <%= af.block_helper(@user,@form_index)%> <% @form_index = @form_index +1 %> <% end %> </div> </div>