diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-10-30 16:46:39 -0700 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-10-30 16:46:39 -0700 |
commit | 48b40ec7bff777ca9c4c7ec2f91c8e803baab57b (patch) | |
tree | 7681c558f97daf8f6425315a4ba6ee8dc817e36d /app/Template/project_predefined_content | |
parent | 0a3f2a6a32677e1c5a12a140d2a3a865cb71a2ac (diff) |
Add section for predefined contents
Diffstat (limited to 'app/Template/project_predefined_content')
-rw-r--r-- | app/Template/project_predefined_content/show.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/Template/project_predefined_content/show.php b/app/Template/project_predefined_content/show.php new file mode 100644 index 00000000..8e5ca3dc --- /dev/null +++ b/app/Template/project_predefined_content/show.php @@ -0,0 +1,14 @@ +<div class="page-header"> + <h2><?= t('Predefined Contents') ?></h2> +</div> +<form method="post" action="<?= $this->url->href('ProjectPredefinedContentController', 'update', array('project_id' => $project['id'], 'redirect' => 'edit')) ?>" autocomplete="off"> + <?= $this->form->csrf() ?> + + <fieldset> + <legend><?= t('Predefined Email Subjects') ?></legend> + <?= $this->form->textarea('predefined_email_subjects', $values, $errors, array('tabindex="1"')) ?> + <p class="form-help"><?= t('Write one subject by line.') ?></p> + </fieldset> + + <?= $this->modal->submitButtons(array('tabindex' => 2)) ?> +</form> |