blob: 202b3ffea918e161a82a2b1f87a4b1d943f95567 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<div class="page-header">
<h2><?= $this->text->e($project['name']) ?> > <?= $this->text->e($task['title']) ?></h2>
</div>
<?php if (empty($projects_list)): ?>
<p class="alert"><?= t('There is no destination project available.') ?></p>
<div class="form-actions">
<?= $this->url->link(t('cancel'), 'BoardViewController', 'show', array('project_id' => $task['project_id']), false, 'js-modal-close btn') ?>
</div>
<?php else: ?>
<form method="post" action="<?= $this->url->href('TaskCreationController', 'duplicateProjects', array('project_id' => $task['project_id'])) ?>" autocomplete="off">
<?= $this->form->csrf() ?>
<?= $this->form->hidden('task_id', $values) ?>
<?= $this->form->select(
'project_ids[]',
$projects_list,
$values,
array(),
array('multiple')
) ?>
<?= $this->modal->submitButtons() ?>
</form>
<?php endif ?>
|