%= error_messages_for :author %> <%= form_for :author, :action => url(:author, :id => @author.name) do -%> <%= partial :author_form %>
<%= submit 'Update' %>