summaryrefslogtreecommitdiff
path: root/app/Templates
diff options
context:
space:
mode:
Diffstat (limited to 'app/Templates')
-rw-r--r--app/Templates/category_edit.php2
-rw-r--r--app/Templates/category_index.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Templates/category_edit.php b/app/Templates/category_edit.php
index 1339f6da..327acce6 100644
--- a/app/Templates/category_edit.php
+++ b/app/Templates/category_edit.php
@@ -13,7 +13,7 @@
<?= Helper\form_hidden('project_id', $values) ?>
<?= Helper\form_label(t('Category Name'), 'name') ?>
- <?= Helper\form_text('name', $values, $errors, array('required')) ?>
+ <?= Helper\form_text('name', $values, $errors, array('autofocus required')) ?>
<div class="form-actions">
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
diff --git a/app/Templates/category_index.php b/app/Templates/category_index.php
index 7fb923ba..18e81b78 100644
--- a/app/Templates/category_index.php
+++ b/app/Templates/category_index.php
@@ -38,7 +38,7 @@
<?= Helper\form_hidden('project_id', $values) ?>
<?= Helper\form_label(t('Category Name'), 'name') ?>
- <?= Helper\form_text('name', $values, $errors, array('required')) ?>
+ <?= Helper\form_text('name', $values, $errors, array('autofocus required')) ?>
<div class="form-actions">
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>