summaryrefslogtreecommitdiff
path: root/app/Template/predefined_task_description/create.php
blob: 5a7a8d9f042b9920c490ddf7e5ed51e07d8cceab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>