mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
24 lines
No EOL
890 B
PHP
24 lines
No EOL
890 B
PHP
<div class="page-header">
|
|
<h2><?= t('Move the task to another project') ?></h2>
|
|
</div>
|
|
|
|
<?php if (empty($projects_list)): ?>
|
|
<p class="alert"><?= t('No project') ?></p>
|
|
<?php else: ?>
|
|
|
|
<form method="post" action="<?= $this->u('task', 'move', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" autocomplete="off">
|
|
|
|
<?= $this->formCsrf() ?>
|
|
|
|
<?= $this->formHidden('id', $values) ?>
|
|
<?= $this->formLabel(t('Project'), 'project_id') ?>
|
|
<?= $this->formSelect('project_id', $projects_list, $values, $errors) ?><br/>
|
|
|
|
<div class="form-actions">
|
|
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
|
|
<?= t('or') ?>
|
|
<?= $this->a(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
|
|
</div>
|
|
</form>
|
|
|
|
<?php endif ?>
|