0.0.10 update registrarion and login form 2

This commit is contained in:
2023-07-11 16:16:13 +03:00
parent bf33078a1a
commit 14e76f3639

View File

@@ -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 %}