blob: 25567957bed6b62a1a5c4aa3743e3dccd15949de (
plain) (
tree)
|
|
<% for attribute in attributes -%>
<p>
<b><%= attribute.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 %>
|