Fix more foreing key usages
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
Also refactors user info to class
This commit is contained in:
@@ -66,12 +66,12 @@
|
||||
|
||||
<tr>
|
||||
<td>Owner</td>
|
||||
<td>{{ form.inventory.owner.foreign_id }}</td>
|
||||
<td>{{ form.inventory.owner.username }}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Current user</td>
|
||||
<td>{{ form.inventory.user.foreign_id }}</td>
|
||||
<td>{{ form.inventory.user.username }}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
Reference in New Issue
Block a user