mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-05 21:10:13 +03:00
change username label so that whatever field the USERNAME_FIELD points at should be used
This commit is contained in:
parent
247954d497
commit
21a12caaec
|
@ -21,7 +21,7 @@
|
|||
|
||||
<div id="div_id_username" class="clearfix control-group {% if form.username.errors %}error{% endif %}">
|
||||
<div class="form-group">
|
||||
<label for="id_username">Username:</label>
|
||||
<label for="id_username">{{ form.username.label }}</label>
|
||||
<input type="text" name="username" maxlength="100"
|
||||
autocapitalize="off"
|
||||
autocorrect="off" class="form-control textinput textInput"
|
||||
|
|
Loading…
Reference in New Issue
Block a user