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