mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(routers.accounts): use target user's account type for autofill
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
e17389485b
commit
94e8d34948
3 changed files with 72 additions and 9 deletions
|
@ -51,7 +51,7 @@
|
|||
<select name="T" id="id_type">
|
||||
{% for value, type in account_types %}
|
||||
<option value="{{ value }}"
|
||||
{% if request.user.AccountType.ID == value %}
|
||||
{% if user.AccountType.ID == value %}
|
||||
selected="selected"
|
||||
{% endif %}
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue