From b4dc602381a367ce9ed1a1bbe28b7903976fdabe Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 18 Feb 2017 18:25:46 -0500 Subject: Send comments by email --- app/Template/comment_mail/create.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/Template/comment_mail/create.php (limited to 'app/Template/comment_mail/create.php') diff --git a/app/Template/comment_mail/create.php b/app/Template/comment_mail/create.php new file mode 100644 index 00000000..57ddeb39 --- /dev/null +++ b/app/Template/comment_mail/create.php @@ -0,0 +1,21 @@ + +
+ form->csrf() ?> + form->hidden('task_id', $values) ?> + form->hidden('user_id', $values) ?> + + form->label(t('Email'), 'email') ?> + form->email('email', $values, $errors, array('autofocus', 'required', 'tabindex="1"')) ?> + + form->label(t('Subject'), 'subject') ?> + form->text('subject', $values, $errors, array('required', 'tabindex="2"')) ?> + + form->textEditor('comment', $values, $errors, array('required' => true, 'tabindex' => 3)) ?> + + modal->submitButtons(array( + 'submitLabel' => t('Send by email'), + 'tabindex' => 4, + )) ?> +
-- cgit v1.2.3