summaryrefslogtreecommitdiff
path: root/app/Template/category/edit.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-11-27 18:33:00 -0500
committerFrederic Guillot <fred@kanboard.net>2016-11-27 18:33:00 -0500
commitde2501f070a7bf41b766ee1139d1322213e387e9 (patch)
treed6a2c53ce9c70e40d6e412b72e5eeb04e3a0e2c4 /app/Template/category/edit.php
parentde1b9416d2c359e57f386760cfa29f2a12bf5b51 (diff)
Improve tabindex for project settings forms
Diffstat (limited to 'app/Template/category/edit.php')
-rw-r--r--app/Template/category/edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/category/edit.php b/app/Template/category/edit.php
index 72fd40de..d8ca313d 100644
--- a/app/Template/category/edit.php
+++ b/app/Template/category/edit.php
@@ -10,10 +10,10 @@
<?= $this->form->hidden('project_id', $values) ?>
<?= $this->form->label(t('Category Name'), 'name') ?>
- <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?>
+ <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="50"', 'tabindex="1"')) ?>
<?= $this->form->label(t('Description'), 'description') ?>
- <?= $this->form->textEditor('description', $values, $errors) ?>
+ <?= $this->form->textEditor('description', $values, $errors, array('tabindex' => 2)) ?>
<div class="form-actions">
<button type="submit" class="btn btn-blue"><?= t('Save') ?></button>