From d5c4c18ea0bd6c0d1a9d0104c1c17748a35f85a7 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 4 Feb 2017 16:03:29 -0500 Subject: Add email address field for projects --- app/Template/project_edit/show.php | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'app/Template/project_edit') diff --git a/app/Template/project_edit/show.php b/app/Template/project_edit/show.php index 46cdb8fa..074f1d37 100644 --- a/app/Template/project_edit/show.php +++ b/app/Template/project_edit/show.php @@ -1,6 +1,12 @@ - +app->isAjax()): ?> + + + +
form->csrf() ?> form->hidden('id', $values) ?> @@ -11,12 +17,16 @@ form->label(t('Name'), 'name') ?> form->text('name', $values, $errors, array('required', 'maxlength="50"', 'autofocus', 'tabindex="1"')) ?> + form->label(t('Email'), 'email') ?> + form->email('email', $values, $errors, array('maxlength="255"', 'tabindex="2"')) ?> +

+ form->label(t('Identifier'), 'identifier') ?> - form->text('identifier', $values, $errors, array('maxlength="50"', 'tabindex="2"')) ?> + form->text('identifier', $values, $errors, array('maxlength="50"', 'tabindex="3"')) ?>

form->label(t('Description'), 'description') ?> - form->textEditor('description', $values, $errors, array('tabindex' => 3)) ?> + form->textEditor('description', $values, $errors, array('tabindex' => 4)) ?>
-- cgit v1.2.3