Autofocus jump input
This commit is contained in:
parent
b4f13741f7
commit
e3cb717087
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue