Autofocus jump input

This commit is contained in:
Simon Bruder 2024-07-14 22:04:45 +02:00
parent b4f13741f7
commit e3cb717087
Signed by: simon
GPG key ID: 347FF8699CDA0776

View file

@ -39,7 +39,7 @@ fn navbar(config: &TemplateConfig) -> Markup {
} }
form .d-flex.flex-fill role="search" action="/jump" { form .d-flex.flex-fill role="search" action="/jump" {
input .form-control.me-2 type="search" name="id" placeholder="Jump to ID"; input .form-control.me-2 type="search" name="id" placeholder="Jump to ID" autofocus;
} }
@if config.user.is_some() { @if config.user.is_some() {