diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-31 20:14:51 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-31 20:14:51 -0500 |
commit | 271543431e999032d6e91197633119309fa6c622 (patch) | |
tree | 93c84f80092b6b463dcb643ee6bd0302c18fdf47 /app/Controller/ProjectCreation.php | |
parent | 0bc51620c731e7cfd10db5e064fc04693205b21c (diff) |
Make project creation form a inline popup
Diffstat (limited to 'app/Controller/ProjectCreation.php')
-rw-r--r-- | app/Controller/ProjectCreation.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Controller/ProjectCreation.php b/app/Controller/ProjectCreation.php index a3154034..61ea2586 100644 --- a/app/Controller/ProjectCreation.php +++ b/app/Controller/ProjectCreation.php @@ -20,8 +20,7 @@ class ProjectCreation extends Base $is_private = isset($values['is_private']) && $values['is_private'] == 1; $projects_list = array(0 => t('Do not duplicate anything')) + $this->projectUserRole->getActiveProjectsByUser($this->userSession->getId()); - $this->response->html($this->template->layout('project_creation/create', array( - 'board_selector' => $this->projectUserRole->getActiveProjectsByUser($this->userSession->getId()), + $this->response->html($this->helper->layout->app('project_creation/create', array( 'values' => $values, 'errors' => $errors, 'is_private' => $is_private, |