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