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