mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Ability to edit username
This commit is contained in:
parent
600eac7f1d
commit
8a995cc193
@ -43,6 +43,7 @@ class EditUserForm(HelperForm):
|
||||
class Meta:
|
||||
model = User
|
||||
fields = [
|
||||
'username',
|
||||
'first_name',
|
||||
'last_name',
|
||||
'email'
|
||||
|
@ -19,6 +19,10 @@
|
||||
</div>
|
||||
|
||||
<table class='table table-striped table-condensed'>
|
||||
<tr>
|
||||
<td>Username</td>
|
||||
<td>{{ user.username }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>First Name</td>
|
||||
<td>{{ user.first_name }}</td>
|
||||
|
Loading…
Reference in New Issue
Block a user