mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
17 lines
877 B
PHP
17 lines
877 B
PHP
<div class="page-header">
|
|
<h2><?= t('You already have one subtask in progress') ?></h2>
|
|
</div>
|
|
<form class="popover-form" action="<?= $this->url->href('SubtaskRestrictionController', 'save', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'subtask_id' => $subtask['id'])) ?>" method="post">
|
|
|
|
<?= $this->form->csrf() ?>
|
|
|
|
<p><?= t('Select the new status of the subtask: "%s"', $subtask_inprogress['title']) ?></p>
|
|
<?= $this->form->radios('status', $status_list) ?>
|
|
<?= $this->form->hidden('id', $subtask_inprogress) ?>
|
|
|
|
<div class="form-actions">
|
|
<button type="submit" class="btn btn-red"><?= t('Save') ?></button>
|
|
<?= t('or') ?>
|
|
<?= $this->url->link(t('cancel'), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?>
|
|
</div>
|
|
</form>
|