blob: adecaf70c6211c7f219e9e48eb35d4e321fceb04 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
<% for attribute in attributes -%>
<p>
<b><%= attribute.column.human_name %>:</b>
<%%=h @<%= singular_name %>.<%= attribute.name %> %>
</p>
<% end -%>
<%%= link_to 'Edit', edit_<%= singular_name %>_path(@<%= singular_name %>) %> |
<%%= link_to 'Back', <%= plural_name %>_path %>
|