.header
	%h1 Détails de l'utilisateur
	.back
		= link_to "Retour",admin_users_path
.links
	= link_to "Modifier", edit_admin_user_path(@user), :class => "lien" 

.shadow_box{:style => "padding:10px;"}
	%p
		<b>Login:</b>
		=h @user.login 

	%p

		<b>Email:</b>
		=mail_to @user.email 



.shadow_box.padding
	%h2 Logs	
	%table.admin_table
		-for log in @user.user_logs.find(:all, :order => "created_at DESC")
			%tr
				%td=l log.created_at
				%td=h log.message





