#menu_index_block.index_block{:data_add_url => url_for({}.merge!(params).merge!({"format" => "js", "page" => 1, "order" => "created_at", "a_d" => "DESC"})), :data_current_url => url_for({}.merge!(params).merge!({:format => "js"}))}

	

	%table
		-if @menus.num_pages > 1
			%tr.pagination
				%td.per_page_cel
					=per_page_links(params[:per_page], @menus.num_pages)
				%td.paginate_cel{:colspan => 4}
					= paginate(@menus, :remote => true)
		
	%table.normal_table
		%thead#menu_rows_header.rows_header
			
			%tr
				%td
					=link_to_sort_results("Date de création", "created_at")
				%td
					=link_to_sort_results("Nom", "name")
		
				
				%td.right{:style => "width:70px"}
		
			
				
				
		%tbody#Admin_rows.rows
			
			=render @menus
			
			
	%table
		%tr.pagination
			%td.per_page_cel
				
			%td.paginate_cel{:colspan => 4}
				= paginate(@menus, :remote => true)

	



