-content_for :sidebar do 



	-if @menu_item.parent_id
		-if @menu_item.ancestors.reverse[0]
			-first_level_menu = @menu_item.ancestors.reverse[0]
	
	-else
		
		-first_level_menu = @menu_item
		
	
	-if first_level_menu.children.where(:enabled => true).order(:position).count > 0
		#menu_left.widget
			%h2=first_level_menu.name

			%ul
				-first_level_menu.children.where(:enabled => true).order(:position).each do |menu_item|
					%li=menu_item_link(menu_item)
						
					-if menu_item.children.size > 0

						%ul
							-menu_item.children.where(:enabled => true).order(:position).each do |menu_item|
								%li=menu_item_link(menu_item)

	=render :partial => "public/articles/sidebar_recents"


-content_for :body do 
	.breadcumbs
		=link_to "Accueil", "/"
		>
		-@menu_item.ancestors.reverse.each do |menu_item|
			=menu_item_link(menu_item)
			>
		=@menu_item.name

	%h1=@menu_item.menu_content.title
		
	=render @menu_item.menu_content.blocks[0]

	

	
.clear





