.forum_message#forum_message{:id => forum_message.id}
	
	
	.left
	
		.user
			-if forum_message.forum_user
			
				=image_tag (forum_message.forum_user.avatar? ? forum_message.forum_user.avatar.square.url : ""), :class => "avatar" 
			
				=forum_message.forum_user.firstname
				=forum_message.forum_user.name
			-else
				utilisateur supprimé
		.date=l forum_message.created_at, :format => :short
	.right
		.links
			=link_to "modifier", edit_forum_forum_message_path(forum_message)
			=link_to "supprimer", [:forum, forum_message], :confirm => "Supprimer ce message ?", :method => :delete
			
		=markdown forum_message.description
		
		
		:javascript
			$('.forum_message .right img').each(function(){
				$(this).closest("p").css("width", "100%");
				$(this).closest("p").css("max-width", "100%");
			
			});
		
	