% text_areas = attributes.reject{|a| a.field_type.to_s != 'text_area'} generated_text_areas = false -%> <%%= form_for [refinery, :<%= namespacing.underscore %>_admin, @<%= singular_name %>] do |f| -%> <%%= render '/refinery/admin/error_messages', :object => @<%= singular_name %>, :include_object_name => true %> <% if localized? %> <%%= render "locale_picker", :current_locale => Thread.current[:globalize_locale] if Refinery.i18n_enabled? %> <% end %> <% attributes.each_with_index do |attribute, index| %> <% if attribute.field_type.to_s != 'text_area' -%>