%= render :partial => 'admin/shared/contents_sub_menu' unless request.xhr? %>
<%= t('.new_upload') %>
<% if @upload.try(:errors).present? %>
<%= render 'shared/error_messages', :target => @upload %>
<% end %>
<%= form_for([:admin, @upload], :html => { :multipart => true }) do |form| %>
<%= render "form", :form => form %>
<%= button t("create") %>
or <%= link_to t("cancel"), "#", :id => "cancel_link" %>
<% end %>