%li{:class => (" active" if album.id == params[:album_id].to_i).to_s}
	
	=link_to album.name, admin_image_files_path(:album_id => album.id, :manager => params[:manager], :multiple => params[:multiple]), :remote => true, :id => "album_"+album.id.to_s,:data_album_id => album.id, :data_album_path => admin_album_path(:format => "js",:album_id => album.id, :manager => params[:manager], :multiple => params[:multiple], :id => album.id), :data_edit_album_path => edit_admin_album_path(:format => "js",:album_id => album.id, :manager => params[:manager], :multiple => params[:multiple], :id => album.id)
	
	-if album.id == params[:album_id].to_i

		= link_to i(:pencil),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", :style => "display:inline-block; margin-right:5px;"

		= link_to i(:"trash-o"), 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.", :style => "display:inline-block;"