@@ -22,13 +22,13 @@ |
||
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 |