<%%= notice %>

<% for attribute in attributes -%>

<%= attribute.human_name %>: <%%= @<%= singular_table_name %>.<%= attribute.name %> %>

<% end -%> <%% if allowed?(:<%= table_name %>, :update) %> <%%= link_to 'Edit', edit_<%= singular_table_name %>_path(@<%= singular_table_name %>) %> | <%% end %> <%% if allowed?(:<%= table_name %>, :index) %> <%%= link_to 'Back', <%= index_helper %>_path %> <%% end %>