Skip to content

Commit 9914cc1

Browse files
committed
change views.py
1 parent 1a6bd48 commit 9914cc1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

task_manager/templates/register.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
<form method="post" novalidate autocomplete="off">
22
{% csrf_token %}
33

4-
<label class="form-label" for="id_first_name">Имя</label>
4+
<label class="form-label" for="id_first_name">Имя</label>
55
{{ form.first_name.as_widget(attrs={
66
'id': 'id_first_name',
77
'name': 'first_name',
88
'maxlength': '150',
99
'class': 'form-control',
1010
'placeholder': 'Имя',
11-
'required': ''
11+
'required': '',
12+
'aria-label': 'Имя'
1213
}) }}
1314

15+
1416
<div>
1517
<label for="{{ form.last_name.id_for_label }}">Фамилия</label>
1618
{{ form.last_name.as_widget(attrs={

0 commit comments

Comments
 (0)