0.0.10 update registrarion and login form 2
This commit is contained in:
@@ -3,6 +3,12 @@
|
||||
<form name="registration_form" method="post">
|
||||
{% csrf_token %}
|
||||
<div>
|
||||
{% if form.errors.all__ %}
|
||||
<div class="error_message">
|
||||
{{ form.errors.all__ }}
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
<div class="inputs_l">
|
||||
<input name="username" type="text" placeholder="Логин" {% if form.data.username %} value="{{ form.data.username }}"{% endif %}>
|
||||
{% if form.username and form.errors.username %}
|
||||
|
||||
Reference in New Issue
Block a user