<%%= pat(:all) %> <%% mt(:<%= @orm.name_plural %>) %>

<%- @orm.columns.each_with_index do |column, i| -%> ><%%= mat(:<%= @orm.name_singular %>, :<%= column.name %>) %> <%- end -%> <%% @<%= @orm.name_plural %>.each do |<%= @orm.name_singular %>| %> <%- @orm.columns.each_with_index do |column, i| -%> ><%%= <%= @orm.name_singular %>.<%= column.name %> %> <%- end -%> <%% end %>
 
<%%= button_to pat(:edit), url(:<%= @orm.name_plural %>, :edit, :id => <%= @orm.name_singular %>.id), :method => :get, :class => :button_to %> | <%%= button_to pat(:delete), url(:<%= @orm.name_plural %>, :destroy, :id => <%= @orm.name_singular %>.id), :method => :delete, :class => :button_to, :onsubmit => "return confirm('#{pat(:confirm)}')" %>
<%% content_for :sidebar, partial("base/sidebar") %>