<%= col.column_name.camelcase %> | <% end else -%><% end -%> | |||
---|---|---|---|---|
<%%= <%= @name_singular %>.<%= col.column_name %> %> | <% end else -%><% end -%> | <%%= link_to("Show", <%= @name_plural %>_show_url(:id => <%= @name_singular %>.id)) %> | <%%= link_to("Edit", <%= @name_plural %>_edit_url(:id => <%= @name_singular %>.id)) %> | <%%= link_to("Delete", <%= @name_plural %>_delete_url(:id => <%= @name_singular %>.id), :method => :delete, :confirm => "Are you sure?") %> |