Show project name in task forms

This commit is contained in:
Frederic Guillot
2016-08-07 10:31:48 -04:00
parent 928d27d2ad
commit c0ee8b4092
7 changed files with 63 additions and 40 deletions

View File

@@ -1,7 +1,7 @@
<div class="page-header">
<h2><?= t('New task') ?></h2>
<h2><?= $this->text->e($project['name']) ?> &gt; <?= t('New task') ?></h2>
</div>
<form method="post" action="<?= $this->url->href('TaskGanttCreationController', 'save', array('project_id' => $values['project_id'])) ?>" autocomplete="off">
<form class="popover-form" method="post" action="<?= $this->url->href('TaskGanttCreationController', 'save', array('project_id' => $values['project_id'])) ?>" autocomplete="off">
<?= $this->form->csrf() ?>
<?= $this->form->hidden('project_id', $values) ?>
<?= $this->form->hidden('column_id', $values) ?>