<h1>New Image</h1>

<%= error_messages_for :image %>

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