summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-11-17 14:46:23 -0800
committerFrederic Guillot <fred@kanboard.net>2017-11-17 14:46:23 -0800
commit2a313eb971ab36e166308f7882897ef204234d0a (patch)
tree6bb7a72ee7bce1c0baef908af49ff1b817c939f2 /app/Template
parent3b786e05e0e51ca6f85ef9a3ca0d649f3e34c534 (diff)
Add the possibility to send tasks and comments to multiple recipients
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/comment_mail/create.php4
-rw-r--r--app/Template/task_mail/create.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/app/Template/comment_mail/create.php b/app/Template/comment_mail/create.php
index 8732080a..84c241d3 100644
--- a/app/Template/comment_mail/create.php
+++ b/app/Template/comment_mail/create.php
@@ -6,8 +6,8 @@
<?= $this->form->hidden('task_id', $values) ?>
<?= $this->form->hidden('user_id', $values) ?>
- <?= $this->form->label(t('Email'), 'email') ?>
- <?= $this->form->email('email', $values, $errors, array('autofocus', 'required', 'tabindex="1"')) ?>
+ <?= $this->form->label(t('Email'), 'emails') ?>
+ <?= $this->form->text('emails', $values, $errors, array('autofocus', 'required', 'tabindex="1"')) ?>
<?php if (! empty($members)): ?>
<div class="dropdown">
diff --git a/app/Template/task_mail/create.php b/app/Template/task_mail/create.php
index f369ef99..3985dddf 100644
--- a/app/Template/task_mail/create.php
+++ b/app/Template/task_mail/create.php
@@ -4,8 +4,8 @@
<form method="post" action="<?= $this->url->href('TaskMailController', 'send', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" autocomplete="off" class="js-mail-form">
<?= $this->form->csrf() ?>
- <?= $this->form->label(t('Email'), 'email') ?>
- <?= $this->form->email('email', $values, $errors, array('autofocus', 'required', 'tabindex="1"')) ?>
+ <?= $this->form->label(t('Email'), 'emails') ?>
+ <?= $this->form->text('emails', $values, $errors, array('autofocus', 'required', 'tabindex="1"')) ?>
<?php if (! empty($members)): ?>
<div class="dropdown">