0.0.16 send new route form

This commit is contained in:
2023-07-13 15:38:11 +03:00
parent 6de8a4bdd7
commit a727ce10fb
5 changed files with 108 additions and 11 deletions

View File

@@ -1,14 +1,14 @@
<section class="login">
<h1>Войдите в профиль</h1>
<form name="registration_form" method="post">
{% csrf_token %}
<form class="login_form" name="login_form" method="post">
{% csrf_token %}
<div>
{% if form.errors.all__ %}
<div class="error_message">
{{ form.errors.all__ }}
</div>
<span>
{{ form.errors.all__ }}
</span>
{% endif %}
{% 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 %}