We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdf72af commit 0675040Copy full SHA for 0675040
src/unfold/forms.py
@@ -97,6 +97,8 @@ def __init__(
97
) -> None:
98
super().__init__(request, *args, **kwargs)
99
100
+ self.fields["username"].widget.attrs["autofocus"] = ""
101
+
102
self.fields["username"].widget.attrs["class"] = " ".join(BASE_INPUT_CLASSES)
103
self.fields["password"].widget.attrs["class"] = " ".join(BASE_INPUT_CLASSES)
104
0 commit comments