summaryrefslogtreecommitdiff
path: root/app/Template/project_predefined_content
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-10-30 16:46:39 -0700
committerFrederic Guillot <fred@kanboard.net>2017-10-30 16:46:39 -0700
commit48b40ec7bff777ca9c4c7ec2f91c8e803baab57b (patch)
tree7681c558f97daf8f6425315a4ba6ee8dc817e36d /app/Template/project_predefined_content
parent0a3f2a6a32677e1c5a12a140d2a3a865cb71a2ac (diff)
Add section for predefined contents
Diffstat (limited to 'app/Template/project_predefined_content')
-rw-r--r--app/Template/project_predefined_content/show.php14
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>