% default_folder = content_id_to_str default_folder_for_image_upload(profile) %>
<%= render :partial => 'media_new_folder', :locals => {:default_folder => default_folder} %> <%= javascript_include_tag 'jquery.fileupload.js', 'tmpl.js', 'media-panel.js' %>