From 6ff349dbac89092787edf29c6059bbc96ae14f37 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 842f7e4930a..ff687d6bce5 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 %} +