#bandeau
	=@title

#page_main
	#sidebar
		#menu_left
			%h3= link_to "Dossiers", "/pages/dossiers.html"
			%ul
				-Folder.where(:enabled => true).order(:title).each do |folder|
					%li=link_to folder.title, folder_path(:slug => folder.slug)
	#content
		#breadcrumb
			=link_to "Accueil", "/"
			>
			=link_to "Dossiers", "/pages/dossiers.html"
			>
			=@folder.title
		=render @folder.block
		
		%h2 Tout les articles du dossier
		-@folder.articles.each do |article|
			.article
				.image_file
					=link_to image_tag(article.image_file.file.square.url), article_path(:folder_slug => @folder.slug, :slug => article.slug) if article.image_file
				
				.title
					%h3=link_to article.title, article_path(:folder_slug => @folder.slug, :slug => article.slug)
				.description
					=link_to simple_format(article.description), article_path(:folder_slug => @folder.slug, :slug => article.slug)
				.clear
	.clear

