summaryrefslogtreecommitdiff
path: root/app/Template/predefined_task_description/create.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/predefined_task_description/create.php')
-rw-r--r--app/Template/predefined_task_description/create.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/Template/predefined_task_description/create.php b/app/Template/predefined_task_description/create.php
new file mode 100644
index 00000000..5a7a8d9f
--- /dev/null
+++ b/app/Template/predefined_task_description/create.php
@@ -0,0 +1,14 @@
+<div class="page-header">
+ <h2><?= t('Predefined Task Description') ?></h2>
+</div>
+<form method="post" action="<?= $this->url->href('PredefinedTaskDescriptionController', 'save', array('project_id' => $project['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>