<%= form_for @item, :url => options, :html => { :multipart => true } do |form| %> <% if @item.errors.any? %>

<%= pluralize(@item.errors.count, "error") %> prohibited this page from being saved:

<% end %>
    <%= raw build_form(@fields, form) %>
  1. <%= submit_tag button , :class => "commit" %> or <%= link_to _t("Cancel and go back").downcase, :action => "index" %>
<% end %>