From 6b9b9d2d1c27600969388ad10d749bb6febc92b6 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 3 Jun 2017 17:51:20 -0400 Subject: Add autocomplete dropdown on comment subject and email fields --- app/Template/comment_mail/create.php | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) (limited to 'app/Template/comment_mail') diff --git a/app/Template/comment_mail/create.php b/app/Template/comment_mail/create.php index 019f8a20..8732080a 100644 --- a/app/Template/comment_mail/create.php +++ b/app/Template/comment_mail/create.php @@ -1,7 +1,7 @@ -
+ form->csrf() ?> form->hidden('task_id', $values) ?> form->hidden('user_id', $values) ?> @@ -9,9 +9,39 @@ 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( -- cgit v1.2.3