Edit <%= @name_singular_camel %>

<%%= error_messages_for :<%= @name_singular %> %> <%% form(<%= @name_singular %>s_update_url(:id => @<%= @name_singular %>), :class => "edit_<%= @name_singular %>", :id => "edit_<%= @name_singular %>", :method => :put) do %> <% for column in columns -%> <% unless column.column_name == "created_at" || column.column_name == "updated_at" -%>

<%= column.column_name.singular.camelcase %>
<%= column.form_field %>

<% end -%> <% end -%>

<%%= submit_tag("Update") %>

<%% end %> <%%= link_to("Back", <%= @name_singular %>s_index_url) %>