diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-11-02 15:41:58 -0700 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-11-02 15:41:58 -0700 |
commit | 648dc6bcfbdd44947ec58e2f3662c1cc3844d782 (patch) | |
tree | d122630decf0bf4a7a199798835481592424a3b0 /app/Template/predefined_task_description/edit.php | |
parent | 44ae87ac0e9bb37ca6d2b305d410758ff71b42c6 (diff) |
Add predefined templates for task descriptions
Diffstat (limited to 'app/Template/predefined_task_description/edit.php')
-rw-r--r-- | app/Template/predefined_task_description/edit.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/Template/predefined_task_description/edit.php b/app/Template/predefined_task_description/edit.php new file mode 100644 index 00000000..039d650b --- /dev/null +++ b/app/Template/predefined_task_description/edit.php @@ -0,0 +1,14 @@ +<div class="page-header"> + <h2><?= t('Predefined Task Description') ?></h2> +</div> +<form method="post" action="<?= $this->url->href('PredefinedTaskDescriptionController', 'update', array('project_id' => $project['id'], 'id' => $template['id'])) ?>" autocomplete="off"> + <?= $this->form->csrf() ?> + + <?= $this->form->label(t('Title'), 'title') ?> + <?= $this->form->text('title', $values, $errors, array('autofocus', 'required', 'tabindex="1"')) ?> + + <?= $this->form->label(t('Description'), 'description') ?> + <?= $this->form->textEditor('description', $values, $errors, array('tabindex' => 2)) ?> + + <?= $this->modal->submitButtons() ?> +</form> |