1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00
kanboard_ynh/sources/app/Template/project/duplicate.php

23 lines
977 B
PHP
Raw Normal View History

2014-11-23 20:13:38 +01:00
<div class="page-header">
<h2><?= t('Clone this project') ?></h2>
</div>
<div class="confirm">
<p class="alert alert-info">
2015-02-25 17:29:06 +01:00
<?= t('Which parts of the project do you want to duplicate?') ?>
2014-11-23 20:13:38 +01:00
</p>
2015-08-16 17:04:56 +02:00
<form method="post" action="<?= $this->url->href('project', 'duplicate', array('project_id' => $project['id'], 'duplicate' => 'yes')) ?>" autocomplete="off">
2014-11-23 20:13:38 +01:00
2015-08-16 17:04:56 +02:00
<?= $this->form->csrf() ?>
2015-02-25 17:29:06 +01:00
2015-08-16 17:04:56 +02:00
<?= $this->form->checkbox('category', t('Categories'), 1, true) ?>
<?= $this->form->checkbox('action', t('Actions'), 1, true) ?>
<?= $this->form->checkbox('swimlane', t('Swimlanes'), 1, false) ?>
<?= $this->form->checkbox('task', t('Tasks'), 1, false) ?>
2015-02-25 17:29:06 +01:00
<div class="form-actions">
<input type="submit" value="<?= t('Duplicate') ?>" class="btn btn-red"/>
2015-08-16 17:04:56 +02:00
<?= t('or') ?> <?= $this->url->link(t('cancel'), 'project', 'show', array('project_id' => $project['id'])) ?>
2015-02-25 17:29:06 +01:00
</div>
</form>
2014-11-23 20:13:38 +01:00
</div>