<%= attribute.human_name %> | <% end -%>|||
---|---|---|---|
<%%= <%= singular_table_name %>.<%= attribute.name %> %> | <% end -%><%%= link_to 'Show', "/<%= plural_table_name %>/#{<%= singular_table_name %>.id}" %> | <%%= link_to 'Edit', "/<%= plural_table_name %>/#{<%= singular_table_name %>.id}/edit" %> | <%%= link_to 'Destroy', "/<%= plural_table_name %>/#{<%= singular_table_name %>.id}", method: :delete, data: { confirm: 'Are you sure?' } %> |