diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-02-07 14:19:19 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-02-07 14:19:19 -0500 |
commit | a6b3306072e910d5d51f87a5f5f6df95ecff3e5e (patch) | |
tree | a947d30c1c2245d3be4c04c9eba975768ecec2e0 /app/Template | |
parent | a0f4343ef58ba09d8b74fd44d4e2bc9011c382ea (diff) | |
parent | 4bf6e6d5c4efe811f722aeccbc8dfa02426772ec (diff) |
Merge pull-request #580
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/project/duplicate.php | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/app/Template/project/duplicate.php b/app/Template/project/duplicate.php index fc704b1e..b6184220 100644 --- a/app/Template/project/duplicate.php +++ b/app/Template/project/duplicate.php @@ -4,11 +4,20 @@ <div class="confirm"> <p class="alert alert-info"> - <?= t('Do you really want to duplicate this project: "%s"?', $project['name']) ?> + <?= t('Which parts of the project do you want to duplicate?') ?> </p> + <form method="post" action="<?= $this->u('project', 'duplicate', array('project_id' => $project['id'], 'duplicate' => 'yes')) ?>" autocomplete="off"> - <div class="form-actions"> - <?= $this->a(t('Yes'), 'project', 'duplicate', array('project_id' => $project['id'], 'duplicate' => 'yes'), true, 'btn btn-red') ?> - <?= t('or') ?> <?= $this->a(t('cancel'), 'project', 'show', array('project_id' => $project['id'])) ?> - </div> + <?= $this->formCsrf() ?> + + <?= $this->formCheckbox('category', t('Categories'), 1, true) ?> + <?= $this->formCheckbox('action', t('Actions'), 1, true) ?> + <?= $this->formCheckbox('swimlane', t('Swimlanes'), 1, true) ?> + <?= $this->formCheckbox('task', t('Tasks'), 1, true) ?> + + <div class="form-actions"> + <input type="submit" value="<?= t('Duplicate') ?>" class="btn btn-red"/> + <?= t('or') ?> <?= $this->a(t('cancel'), 'project', 'show', array('project_id' => $project['id'])) ?> + </div> + </form> </div>
\ No newline at end of file |