Skip to content

Commit

Permalink
Autofocus on Country#edit
Browse files Browse the repository at this point in the history
  • Loading branch information
jahseng-lee committed Dec 28, 2023
1 parent ce9bbaf commit 7750473
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/countries/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
<%= f.label(
:ambulance_number,
"Ambulance",
class: "form-label fw-bold"
class: "form-label fw-bold",
autofocus: true
) %>
<%= f.text_field :ambulance_number, class: "form-control" %>
</div>
Expand Down

0 comments on commit 7750473

Please sign in to comment.