Make the login page look a bit better by adding some white space
This commit is contained in:
parent
eb42e2515b
commit
215e2946d1
@ -22,12 +22,12 @@
|
|||||||
action="{% url 'login' %}">
|
action="{% url 'login' %}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{% for field in form %}
|
{% 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>
|
<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 class="col-sm-8">{% render_field field class="form-control" %}</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% 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 }}" />
|
<input type="hidden" name="next" value="{{ next }}" />
|
||||||
</form>
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user