<%= plural_table_name.titleize %>

<%%= link_to 'New <%= singular_table_name.titleize %>', new_<%= singular_table_name %>_path %>
<% attributes.reject(&:password_digest?).each do |attribute| -%> <% end -%> <%% @<%= plural_table_name %>.each do |<%= singular_table_name %>| %> <% attributes.reject(&:password_digest?).each do |attribute| -%> <% end -%> <%% end %>
<%= attribute.human_name %>
<%%= <%= singular_table_name %>.<%= attribute.name %> %><%%= link_to 'Show', <%= singular_table_name %>, class: "btn btn-sm btn-block btn-default" %> <%%= link_to 'Edit', edit_<%= singular_table_name %>_path(<%= singular_table_name %>), class: "btn btn-sm btn-block btn-primary" %> <%%= link_to 'Destroy', <%= singular_table_name %>, class: "btn btn-sm btn-block btn-danger", method: :delete, data: { confirm: 'Are you sure?' } %>