<%= error_messages_for :author %> <%= form_for :author, :action => url(:author) do %> <%= partial :author_form %> <p> <%= submit 'Create' %> </p> <% end =%>