update login dialog
This commit is contained in:
parent
089b8a3b10
commit
6385689b10
@ -1,23 +1,28 @@
|
|||||||
{% extends '_base_accounts.html' %}
|
{% extends '_base.html' %}
|
||||||
|
{% load static from staticfiles %}
|
||||||
{% load crispy_forms_tags %}
|
{% load crispy_forms_tags %}
|
||||||
|
{% load form_tags %}
|
||||||
{% block title %}login{% endblock %}
|
{% block title %}Anmelden{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center" style="margin-top: 80px;">
|
||||||
<div class="col-lg-4 col-md-6 col-sm-8">
|
<div class="col-lg-4 col-md-6 col-sm-8">
|
||||||
<div class="card">
|
<form method="post" novalidate>
|
||||||
<div class="card-body">
|
{% csrf_token %}
|
||||||
<h3 class="card-title">Log in</h3>
|
<div class="card">
|
||||||
<form method="post" novalidate>
|
<div class="card-header text-center">
|
||||||
{% csrf_token %}
|
<h3>{% settings_value "PRODUCT_INFO" %}</h3>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<h3 class="card-title">Login</h3>
|
||||||
<input type="hidden" name="next" value="{{ next }}">
|
<input type="hidden" name="next" value="{{ next }}">
|
||||||
{{ form|crispy }}
|
{{ form|crispy }}
|
||||||
|
</div>
|
||||||
|
<div class="card-footer">
|
||||||
<button type="submit" class="btn btn-primary btn-block">Log in</button>
|
<button type="submit" class="btn btn-primary btn-block">Log in</button>
|
||||||
</form>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Reference in New Issue
Block a user