diff options
Diffstat (limited to 'ishtar_common/templates/registration/login.html')
| -rw-r--r-- | ishtar_common/templates/registration/login.html | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/ishtar_common/templates/registration/login.html b/ishtar_common/templates/registration/login.html index 3e82a882f..2be3e4a2c 100644 --- a/ishtar_common/templates/registration/login.html +++ b/ishtar_common/templates/registration/login.html @@ -3,8 +3,8 @@ {% block content %} <div class="row justify-content-center"> - <div class="col-md-6"> - <h4>{%trans "Log in"%}</h4> + <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 %} @@ -16,21 +16,14 @@ {% endfor %} </div> {% endif %} - + {% with force_large_col=True %} {% for field in form %} - {% if field.errors %} - <div class="form-group row has-errors text-danger small"> - {{field.errors}} - </div> - {% endif %} - <div class="form-group row"> - <label for="{{field.id}}" class="col-6 col-form-label">{{field.label}}</label> - <div class="col-6">{{field}}</div> - </div> + {% include "blocks/bs_field_snippet.html" %} {% endfor %} + {% endwith %} <div class="row justify-content-center"> - <div class="col-12"> + <div class="col-md-4"> <button type="submit" class="btn btn-primary">{% trans 'Log in' %}</button> </div> </div> |
