<% scopes(attr_listing) do |list, scope| %>

<%= scope.to_s.capitalize %> Attribute Details

<% list.each_with_index do |meth, i| %> <% rw = meth.namespace.attributes[meth.scope][meth.name.to_s.gsub(/=$/, '').to_sym] %> <%= yieldall :object => meth, :index => i %> <% end %>
<% end %>