From 1a62c067cd058c4fef222a14c83a02a8c6b4385b Mon Sep 17 00:00:00 2001 From: Arnold Date: Tue, 7 May 2024 17:38:17 +0200 Subject: [PATCH] Putting field labels above fields --- netbox/templates/login.html | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/netbox/templates/login.html b/netbox/templates/login.html index 842f7e4930..ff687d6bce 100644 --- a/netbox/templates/login.html +++ b/netbox/templates/login.html @@ -46,7 +46,21 @@

{% trans "Log In" %}

{% endif %} - {% render_form form %} +
+ + {{ form.username }} + {% for error in form.username.errors %} +
{{ error }}
+ {% endfor %} +
+ +
+ + {{ form.password }} + {% for error in form.password.errors %} +
{{ error }}
+ {% endfor %} +