1 <h1>Editing <%= singular_name %></h1>
3 <%% facebook_form_for(@<%= singular_name %>) do |f| %>
4 <%%= f.error_messages %>
6 <% for attribute in attributes -%>
7 <%%= f.<%= attribute.field_type %> :<%= attribute.name %> %>
9 <%%= f.buttons "Update" %>
12 <%%= link_to 'Show', @<%= singular_name %> %> |
13 <%%= link_to 'Back', <%= plural_name %>_path %>