feat: Use card style for login and password reset form
This commit is contained in:
parent
9216009d3d
commit
9527a281ff
@ -15,19 +15,10 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if not user.is_authenticated %}
|
{% if not user.is_authenticated %}
|
||||||
<form method="post" action="{% url 'login' %}">
|
<form class="card" method="post" action="{% url 'login' %}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<table>
|
{{ form.as_p }}
|
||||||
<tr>
|
<input class="btn" type="submit" value={% translate "Einloggen" %} />
|
||||||
<td>{{ form.username.label_tag }}</td>
|
|
||||||
<td>{{ form.username }}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{{ form.password.label_tag }}</td>
|
|
||||||
<td>{{ form.password }}</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<input class="btn2" type="submit" value={% translate "Einloggen" %} />
|
|
||||||
<input type="hidden" name="next" value="{{ next }}" />
|
<input type="hidden" name="next" value="{{ next }}" />
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<form action="" method="post">
|
<form class=card action="" method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{% if form.email.errors %}
|
{% if form.email.errors %}
|
||||||
{{ form.email.errors }}
|
{{ form.email.errors }}
|
||||||
|
Loading…
Reference in New Issue
Block a user