<%= _('explain_upload.intro_%{name}') % {:name => item_type} %>:
<%= image_tag('alchemy/ajax_loader.gif', :style => 'width: 16px; height: 16px; top: 3px; position: relative') %> <%= _('Please wait. Flash® is loading...') %>
<%= _('You may upload any file') %>
<%- else -%><%= _('You may upload %{file_types_description} with following extensions: %{file_types}') % {:file_types_description => file_types_description, :file_types => file_types.to_sentence} %>.
<%- end -%><%= raw _('If you have any problems using the Flash® uploader you can switch to the %{link}') % {:link => %(%{value}) % {:value => _('regular method')}} %>
<%- session_key = ActionController::Base.session[:key] -%> <%- post_params = { :query => params[:query] || '', :page => 1, :per_page => params[:per_page], :while_assigning => @while_assigning ? "true" : "false", :content_id => @content.blank? ? nil : @content.id, :element_id => @element.blank? ? nil : @element.id, :size => @size, :options => @options.to_param }.delete_if{|k,v|v.nil?}.to_json -%>