Skip to content
Snippets Groups Projects
Commit caeb2885 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Enable autofocus for username field

parent 7a193af3
No related branches found
No related tags found
No related merge requests found
...@@ -523,6 +523,7 @@ class EventCheckpointForm(forms.Form): ...@@ -523,6 +523,7 @@ class EventCheckpointForm(forms.Form):
required=True, required=True,
label=_("Person"), label=_("Person"),
help_text=_("Please enter a username."), help_text=_("Please enter a username."),
widget=forms.TextInput(attrs={"autofocus": "", "autocomplete": "off"}),
) )
use_latlon = forms.BooleanField( use_latlon = forms.BooleanField(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment