Make the login page look a bit better by adding some white space

This commit is contained in:
Adam Goldsmith 2023-11-06 13:14:16 -05:00
parent eb42e2515b
commit 215e2946d1

View File

@ -22,12 +22,12 @@
action="{% url 'login' %}">
{% csrf_token %}
{% for field in form %}
<div class="form-group row">
<div class="form-group row p-2">
<label class="col-sm-4 col-form-label" for="{{ field.auto_id }}">{{ field.label }}</label>
<div class="col-sm-8">{% render_field field class="form-control" %}</div>
</div>
{% endfor %}
<input type="submit" class="btn btn-primary" value="login" />
<input type="submit" class="btn btn-primary m-3" value="login" />
<input type="hidden" name="next" value="{{ next }}" />
</form>
{% endblock %}