summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ishtar_common/templates/registration/login.html48
1 files changed, 25 insertions, 23 deletions
diff --git a/ishtar_common/templates/registration/login.html b/ishtar_common/templates/registration/login.html
index 2be3e4a2c..4d8e2f37b 100644
--- a/ishtar_common/templates/registration/login.html
+++ b/ishtar_common/templates/registration/login.html
@@ -2,33 +2,35 @@
{% load i18n %}
{% block content %}
-<div class="row justify-content-center">
- <div class="col-md-3">
- <h3 class="text-center">{%trans "Log in"%}</h3>
- <form method="post" action=".">{% csrf_token %}
- <input type="hidden" name="next" value="{{ next }}" />
- {% if form.non_field_errors %}
- <div class="form-group row">
- {% for error in form.non_field_errors %}
- <div class="form-group has-errors text-danger small">
- {{error}}
+<div class="container">
+ <div class="row justify-content-center">
+ <div class="col-md-3">
+ <h3 class="text-center">{%trans "Log in"%}</h3>
+ <form method="post" action=".">{% csrf_token %}
+ <input type="hidden" name="next" value="{{ next }}" />
+ {% if form.non_field_errors %}
+ <div class="form-group row">
+ {% for error in form.non_field_errors %}
+ <div class="form-group has-errors text-danger small">
+ {{error}}
+ </div>
+ {% endfor %}
</div>
+ {% endif %}
+ {% with force_large_col=True %}
+ {% for field in form %}
+ {% include "blocks/bs_field_snippet.html" %}
{% endfor %}
- </div>
- {% endif %}
- {% with force_large_col=True %}
- {% for field in form %}
- {% include "blocks/bs_field_snippet.html" %}
- {% endfor %}
- {% endwith %}
+ {% endwith %}
- <div class="row justify-content-center">
- <div class="col-md-4">
- <button type="submit" class="btn btn-primary">{% trans 'Log in' %}</button>
- </div>
+ <div class="row justify-content-center">
+ <div class="col-md-4">
+ <button type="submit" class="btn btn-primary">{% trans 'Log in' %}</button>
+ </div>
+ </div>
+ </form>
</div>
- </form>
- </div>
+ </div>
</div>
<hr/>
<div class="row justify-content-center">