| 
					
				 | 
			
			
				@@ -56,7 +56,7 @@ class SecurityController extends AbstractController 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $this->addFlash('success', 'L\'utilisateur a été ajouté'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return $this->redirectToRoute('admin_index'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        return $this->renderForm('security/createuser.html.twig', array ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return $this->render('security/createuser.html.twig', array ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             'form'  => $form 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         )); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -72,7 +72,7 @@ class SecurityController extends AbstractController 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $this->addFlash('success', 'L\'utilisateur a été modifié'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return $this->redirectToRoute('admin_index'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        return $this->renderForm('security/createuser.html.twig', array ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return $this->render('security/createuser.html.twig', array ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             'form'  => $form 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         )); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -90,7 +90,7 @@ class SecurityController extends AbstractController 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return $this->redirectToRoute('admin_index'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        return $this->renderForm('profil/preferences.html.twig', [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return $this->render('profil/preferences.html.twig', [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             'user'  => $options->getUser(), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             'form'  => $form 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ]); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -116,7 +116,7 @@ class SecurityController extends AbstractController 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $this->addFlash("success", "L'utilisateur a bien été supprimé"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return $this->redirectToRoute('admin_index'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        return $this->renderForm('security/supprimeruser.html.twig', array ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return $this->render('security/supprimeruser.html.twig', array ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             'user'  =>  $user, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             'form'  =>  $form 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         )); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -142,7 +142,7 @@ class SecurityController extends AbstractController 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return $this->redirectToRoute('security_attente'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        return $this->renderForm('security/register.html.twig', [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return $this->render('security/register.html.twig', [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             'form'  => $form 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -179,7 +179,7 @@ class SecurityController extends AbstractController 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $this->addFlash('warning', "Cet email n'existe pas"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        return $this->renderForm('security/chercheruserpourpassword.html.twig', array ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return $this->render('security/chercheruserpourpassword.html.twig', array ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             'form'  =>  $form 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         )); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -196,7 +196,7 @@ class SecurityController extends AbstractController 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     $this->addFlash('success', 'Mot de passe changé, veuillez vous connecter'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     return $this->redirectToRoute('videotheque_liste'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                return $this->renderForm('security/password.html.twig', array( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                return $this->render('security/password.html.twig', array( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     'form' => $form 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 )); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 |