%% title "<%= singular_table_name.titleize %> ##{@<%= singular_table_name %>.id}" %>
<%- attributes.each do |attribute| -%>
<%= attribute.human_name %> | <%%= @<%= singular_table_name %>.<%= attribute.name %> %> |
<% end -%>
<%%= link_to(<%= index_helper %>_path, :class => 'btn') do %>
Back
<%% end %> or
<%%= link_to(edit_<%= singular_table_name %>_path(@<%= singular_table_name %>), :class => 'btn btn-primary') do %>
Edit
<%% end %>
<%%= link_to(@<%= singular_table_name %>, :method => 'delete', :confirm => 'Are you sure?', :class => 'btn btn-danger') do %>
Delete
<%% end %>