summaryrefslogtreecommitdiff
path: root/app/Template/task_new.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-02 15:06:41 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-02 15:06:41 -0500
commit37332ae2222706f8fb330dae780dc938512edcf5 (patch)
tree9161d539cc289179339162d6922c4d9dd2c30e63 /app/Template/task_new.php
parent8fe5df39d97ef851d11931fcf7e906ec08838ef7 (diff)
Change layout (experimental)
Diffstat (limited to 'app/Template/task_new.php')
-rw-r--r--app/Template/task_new.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/Template/task_new.php b/app/Template/task_new.php
index f8e14119..de24f6e1 100644
--- a/app/Template/task_new.php
+++ b/app/Template/task_new.php
@@ -1,9 +1,11 @@
<section id="main">
<div class="page-header">
- <h2><?= Helper\in_list($values['project_id'], $projects_list) ?> &gt; <?= t('New task') ?></h2>
+ <ul>
+ <li><i class="fa fa-table fa-fw"></i><?= Helper\a(t('Back to the board'), 'board', 'show', array('project_id' => $values['project_id'])) ?></li>
+ </ul>
</div>
<section id="task-section">
- <form method="post" action="<?= Helper\u('task', 'save') ?>" autocomplete="off">
+ <form method="post" action="<?= Helper\u('task', 'save', array('project_id' => $values['project_id'])) ?>" autocomplete="off">
<?= Helper\form_csrf() ?>