= semantic_form_for [:forum, @user] do |f| 
	=f.inputs :name => "Basic" do 
		= f.input :firstname, :label => "Prénom"
		= f.input :name, :label => "Nom"
		= f.input :email, :label => "Email"
		= f.input :password, :label => "Mot de passe"
		= f.input :password_confirmation, :label => "Confirmation"
		= f.input :avatar, :label => "Image de profil"
		=image_tag(f.object.avatar.square.url) if f.object.avatar
		
		
		
	=f.submit "Sauvegarder"	
			
	