diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-02-01 18:25:38 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-02-01 18:25:38 -0500 |
commit | b5e1deeaa84c792b1a0523d1f9038955e7745025 (patch) | |
tree | 98a5b9d984bfa06556903e0ed90fb0df05288b2d /app/Template/project_creation | |
parent | 26492aba7ee2bfb8c525ea0aaa580aff47a414ba (diff) |
Improve project creation popover
Diffstat (limited to 'app/Template/project_creation')
-rw-r--r-- | app/Template/project_creation/create.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Template/project_creation/create.php b/app/Template/project_creation/create.php index 387f0ff4..46ec5d1e 100644 --- a/app/Template/project_creation/create.php +++ b/app/Template/project_creation/create.php @@ -2,7 +2,7 @@ <div class="page-header"> <h2><?= $title ?></h2> </div> - <form class="form-popover" id="project-creation-form" method="post" action="<?= $this->url->href('ProjectCreation', 'save') ?>" autocomplete="off"> + <form class="popover-form" id="project-creation-form" method="post" action="<?= $this->url->href('ProjectCreation', 'save') ?>" autocomplete="off"> <?= $this->form->csrf() ?> <?= $this->form->hidden('is_private', $values) ?> @@ -30,6 +30,8 @@ <div class="form-actions"> <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <?= t('or') ?> + <?= $this->url->link(t('cancel'), 'project', 'index', array(), false, 'close-popover') ?> </div> </form> <?php if ($is_private): ?> |