<%= javascript_include_tag "upload_selection" %>
<%
    new_version ||= false
%>
 <% resource ||=nil %>

<%= folding_panel('Upload', false) do %>
    <% if !resource.nil? && resource.respond_to?(:content_blobs) %>
        <%= render :partial=>"assets/upload",:locals=>{:new_version=>new_version,:batch=>true, :with_image_file=>resource.is_a?(Model)} -%>
    <% else %>
        <%= render :partial=>"assets/upload",:locals=>{:new_version=>new_version} -%>
    <% end %>
<% end %>

<%= javascript_include_tag "upload_selection" %>
<%
    new_version ||= false
%>
 <% resource ||=nil %>

<%= panel('Upload') do %>
    <% if !resource.nil? && resource.respond_to?(:content_blobs) %>
        <%= render :partial=>"assets/upload",:locals=>{:new_version=>new_version,:batch=>true, :with_image_file=>resource.is_a?(Model)} -%>
    <% else %>
        <%= render :partial=>"assets/upload",:locals=>{:new_version=>new_version} -%>
    <% end %>
<% end %>

Make upload box non-folding as it is mandatory
Make upload box non-folding as it is mandatory
