<% belongs_to_keys = @abstract_model.belongs_to_associations.map{|b| b[:child_key].first} %> <% properties.each do |property| %> <% name = property[:name] %> <% next if [:id, :created_at, :created_on, :deleted_at, :updated_at, :updated_on, :deleted_on].include?(name) %> <% next if belongs_to_keys.include?(name) %>
"> <% if @object.errors[name] %> <% end %> <%= partial(property[:type].to_s, :property => property) -%>
<% end %>