We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8bd163 commit f1f69c3Copy full SHA for f1f69c3
task_manager/templates/register.html
@@ -1,13 +1,12 @@
1
<form method="post" novalidate autocomplete="off">
2
{% csrf_token %}
3
4
- <div>
5
- <label for="{{ form.first_name.id_for_label }}">Имя</label>
6
- {{ form.first_name.as_widget(attrs={'id': 'first_name', 'aria-label': 'Имя'}) }}
7
- {% for error in form.first_name.errors %}
8
- <div style="color: red;">{{ error }}</div>
9
- {% endfor %}
10
- </div>
+ <div></div>
+ {% csrf_token %}
+ <label for="first_name">Имя</label>
+ <input type="text" id="first_name" name="first_name" aria-label="Имя" />
+ <button type="submit">Отправить</button>
+</div>
11
12
<div>
13
<label for="{{ form.last_name.id_for_label }}">Фамилия</label>
0 commit comments