<%= content_tag(:div, :class => 'fileupload', :id => element_id) do %>
<%= label %>
<%= render :partial => 'manage/fileupload/asset', :collection => assets %>
<%= file_title %>. <%= t('manage.fileupload.max_size') %>:<%= file_max_size %> MB
<% end %> <%= javascript_tag :language => "Javascript" do -%> $(document).ready(function(){ new qq.FileUploaderInput(<%=raw script_options %>); Manage.init_assets('<%= element_id %>', '<%= sort_manage_assets_path(:klass=>asset_klass) %>', <%= multiple ? 'true' : 'false' %>); }); <% end -%>