Skip to content

Commit

Permalink
Add more autofocus
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 25, 2023
1 parent 5ab1496 commit 9718d1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/Projects/add.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
['class' => 'form-narrow']
);
echo $this->Form->hidden('referer', ['value' => $referer]);
echo $this->Form->control('name');
echo $this->Form->control('name', ['autofocus' => true]);
echo $this->Form->control('color', [
'type' => 'colorpicker',
'colors' => Configure::read('Colors'),
Expand Down

0 comments on commit 9718d1e

Please sign in to comment.