Skip to content

Commit

Permalink
#15999: Additional cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed May 8, 2024
1 parent 6ff349d commit 6e658d4
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions netbox/templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,20 @@ <h2 class="text-center mb-4">{% trans "Log In" %}</h2>
<input type="hidden" name="next" value="{{ request.POST.next }}" />
{% endif %}

<div class="form-group">
<label for="id_username" style="font-weight: bold; margin-bottom: 5px;">{{ form.username.label }}</label>
{{ form.username }}
{% for error in form.username.errors %}
<div class="alert alert-danger">{{ error }}</div>
{% endfor %}
<div class="form-group mb-3">
<label for="id_username" class="form-label">{{ form.username.label }}</label>
{{ form.username }}
{% for error in form.username.errors %}
<div class="alert alert-danger">{{ error }}</div>
{% endfor %}
</div>

<div class="form-group">
<label for="id_password" style="font-weight: bold; margin-bottom: 5px;">{{ form.password.label }}</label>
{{ form.password }}
{% for error in form.password.errors %}
<div class="alert alert-danger">{{ error }}</div>
{% endfor %}
<label for="id_password" class="form-label">{{ form.password.label }}</label>
{{ form.password }}
{% for error in form.password.errors %}
<div class="alert alert-danger">{{ error }}</div>
{% endfor %}
</div>

<div class="form-footer">
Expand Down

0 comments on commit 6e658d4

Please sign in to comment.