diff options
-rw-r--r-- | app/Template/task_new.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Template/task_new.php b/app/Template/task_new.php index 51142165..f8e14119 100644 --- a/app/Template/task_new.php +++ b/app/Template/task_new.php @@ -1,9 +1,9 @@ <section id="main"> <div class="page-header"> - <h2><?= t('New task') ?></h2> + <h2><?= Helper\in_list($values['project_id'], $projects_list) ?> > <?= t('New task') ?></h2> </div> <section id="task-section"> - <form method="post" action="?controller=task&action=save" autocomplete="off"> + <form method="post" action="<?= Helper\u('task', 'save') ?>" autocomplete="off"> <?= Helper\form_csrf() ?> @@ -48,8 +48,8 @@ <div class="form-actions"> <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> - <?= t('or') ?> <a href="?controller=board&action=show&project_id=<?= $values['project_id'] ?>"><?= t('cancel') ?></a> + <?= t('or') ?> <?= Helper\a(t('cancel'), 'board', 'show', array('project_id' => $values['project_id'])) ?> </div> </form> </section> -</section>
\ No newline at end of file +</section> |