%= render "form_javascripts" %>
<% form_class = headless_mode? ? 'form-vertical' : 'form-horizontal' %>
<% resource_options = options.delete(@resource.model_name.param_key) %>
<%= form_for @item,
:url => options,
:html => { :multipart => true, :class => form_class } do |form| %>
<%= render "helpers/admin/resources/errors" %>
<% end %>