File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
rest_framework/templates/rest_framework Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 21
21
22
22
< div id ="div_id_username " class ="clearfix control-group {% if form.username.errors %}error{% endif %} ">
23
23
< div class ="form-group ">
24
- < label for ="id_username "> Username :</ label >
24
+ < label for ="id_username "> {{ form.username.label }} :</ label >
25
25
< input type ="text " name ="username " maxlength ="100 "
26
26
autocapitalize ="off "
27
27
autocorrect ="off " class ="form-control textinput textInput "
37
37
38
38
< div id ="div_id_password " class ="clearfix control-group {% if form.password.errors %}error{% endif %} ">
39
39
< div class ="form-group ">
40
- < label for ="id_password "> Password :</ label >
40
+ < label for ="id_password "> {{ form.password.label }} :</ label >
41
41
< input type ="password " name ="password " maxlength ="100 " autocapitalize ="off " autocorrect ="off " class ="form-control textinput textInput " id ="id_password " required >
42
42
{% if form.password.errors %}
43
43
< p class ="text-error ">
You can’t perform that action at this time.
0 commit comments