<%= render "form_javascripts" %> <%= form_for @item, :url => options, :html => { :class => "resource", :multipart => true } do |form| %> <%= render "helpers/admin/resources/errors" %>
    <%= build_form(fields, form) %>
    <% build_save_options.each do |key, value, special| %> <% message = Typus::I18n.t(value) options = { :name => key, :onclick => "setConfirmUnload(false);", :disable_with => message } %>
  1. <%= submit_tag message, options %>
  2. <% end %>
<% end %>