%% title "<%= singular_name.titleize %>" %>
<%- first_attribute = attributes.first -%>
<%- if action? :edit -%>
<%%=link_to '', edit_<%= singular_name %>_path(@<%= singular_name %>), :class => 'edit tip', :title => "Edit This Item" %>
<%- end -%>
<%- if action? :destroy -%>
<%%=link_to "", @<%= singular_name %>, :confirm => 'Are you sure?', :method => :delete, :class => 'destroy tip', :title => "Destroy This Item" %>
<%- end -%>
<%%= link_to @<%= singular_name %>.<%= first_attribute.name %>, @<%= singular_name %> %>
<%%= link_to "Preview <%= singular_name.titleize %>", @<%= singular_name %>, :class => 'remote_iframe' %>
<%- for attribute in attributes -%>
<%= attribute.column.human_name.titleize %>:
<%%= @<%= singular_name %>.<%= attribute.name %> %>
<%- end -%>