From de2501f070a7bf41b766ee1139d1322213e387e9 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 27 Nov 2016 18:33:00 -0500 Subject: Improve tabindex for project settings forms --- app/Template/column/create.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'app/Template/column') diff --git a/app/Template/column/create.php b/app/Template/column/create.php index 71c94062..f4cded52 100644 --- a/app/Template/column/create.php +++ b/app/Template/column/create.php @@ -8,18 +8,18 @@ form->hidden('project_id', $values) ?> form->label(t('Title'), 'title') ?> - form->text('title', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?> + form->text('title', $values, $errors, array('autofocus', 'required', 'maxlength="50"', 'tabindex="1"')) ?> form->label(t('Task limit'), 'task_limit') ?> - form->number('task_limit', $values, $errors) ?> + form->number('task_limit', $values, $errors, array('tabindex="2"')) ?> - form->checkbox('hide_in_dashboard', t('Hide tasks in this column in the dashboard'), 1) ?> + form->checkbox('hide_in_dashboard', t('Hide tasks in this column in the dashboard'), 1, false, '', array('tabindex' => 3)) ?> form->label(t('Description'), 'description') ?> - form->textEditor('description', $values, $errors) ?> + form->textEditor('description', $values, $errors, array('tabindex' => 4)) ?>
- + url->link(t('cancel'), 'column', 'index', array('project_id' => $project['id']), false, 'close-popover') ?>
-- cgit v1.2.3