Completed
Push — Projets ( f4ac88...5f4cc1 )
by Hugo
05:39
created
app/controllers/ProjetsController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,13 +22,13 @@
 block discarded – undo
22 22
         $this->view->setVar("projets", $projets);
23 23
 
24 24
 
25
-        $dialog=$this->jquery->bootstrap()->htmlModal("modal","Ajouter un nouveau projet","test");
26
-        $buttonFrm=$this->jquery->bootstrap()->htmlButton("btFrm","Nouveau");
25
+        $dialog = $this->jquery->bootstrap()->htmlModal("modal", "Ajouter un nouveau projet", "test");
26
+        $buttonFrm = $this->jquery->bootstrap()->htmlButton("btFrm", "Nouveau");
27 27
         $dialog->addOkayButton("Ajouter");
28 28
         $this->jquery->postFormOnClick("#modal-Ajouter", "Projets/update", "frmAjout", null, array("jsCallback" => $this->jquery->getDeferred("Projets/index", ".content)")));
29 29
         $dialog->addCancelButton();
30 30
         $clients = User::find();
31
-        $dialog->renderContent($this->view,"projets","frm",array("clients"=>$clients));
31
+        $dialog->renderContent($this->view, "projets", "frm", array("clients"=>$clients));
32 32
 
33 33
         $buttonFrm->onClick($dialog->jsShow());
34 34
 
Please login to merge, or discard this patch.