#image_files_big_container
	#sidebar
	
		
		=render :partial => "admin/albums/albums"
	
		
	#main_workspace_view
	
		
		=render :partial => "image_files_container"
		
		
		
		
		#image_file_container
			
				
			#image_file_container_content
			
			.close_link{:onclick => "close_image_file_container();"}
		
		%p{:style => "clear:both;"}
	#left_buttons
		= link_to i(:pen_alt_stroke),edit_admin_album_url(:id => params[:album_id], :album_id => params[:album_id], :manager => params[:manager], :multiple => params[:multiple]), :remote => true, :id => "edit_current_album"
		
		= link_to i(:trash_stroke), admin_album_url(:id => params[:album_id],:album_id => params[:album_id], :manager => params[:manager], :multiple => params[:multiple]), :remote => true, :id => "remove_current_album", :method => :delete, :confirm => "Voulez-vous vraiment supprimer cet album ? Attention, toutes les images de celui-ci seront définitivement supprimées."
		
		= link_to i(:plus), new_admin_album_url(:album_id => params[:album_id], :manager => params[:manager], :multiple => params[:multiple]), :remote => true, :id => "add_album"
		
	#right_bar
		#multiple_selection
			#multiple_menu
				
				-if params[:multiple]
					%a{:href => "#", :onclick => "manager_send_multiple_image_files();return false;"} Sélectionner ces images
				%a{:href => "#", :onclick => "delete_multiple_images();return false;"} Supprimer ces images
				%a{:href => "#", :onclick => "unselect_all_image();return false;"} Tout désélectionner
				%a{:href => "#", :onclick => "select_all_image();return false;"} Tout sélectionner
			%span#multiple_selection_text
			
			
		#image_file_form
			= form_for @image_file, :url => admin_image_files_path(:id => @image_file.id, :album_id => params[:album_id], :manager => params[:manager], :multiple => params[:multiple]), :html => { :id => "image_upload_field", :multipart => true } do |f| 

				%label Ajouter des images dans cet album

				= f.file_field :file, :multiple => true
				= f.hidden_field :file_cache
				= f.hidden_field :album_id
			
		#image_file_queue
			%table#files
		#grid_slider
			.ui-slider-handle
			



:javascript
	set_image_files_big_container_size();
	
