<h1>New Account</h1>

<%= error_messages_for :account %>

<% form_for(:account, :url => object_url) do |f| %>
  <%= render :partial => "form", :locals => { :f => f } %>
  <p>
    <%= submit_tag "Create" %>
  </p>
<% end %>
<br/>
<%= link_to 'Back', object_url %>