mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix: /account/{name}/edit Account Type selection
The "Account Type" selection was not properly being rendered due to an incorrect equality. This has been fixed in templates/partials/account_form.html. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
0fd31b8d36
commit
ad3016ef4f
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@
|
||||||
<select name="T" id="id_type">
|
<select name="T" id="id_type">
|
||||||
{% for value, type in account_types %}
|
{% for value, type in account_types %}
|
||||||
<option value="{{ value }}"
|
<option value="{{ value }}"
|
||||||
{% if account_type == type %}
|
{% if request.user.AccountType.ID == value %}
|
||||||
selected="selected"
|
selected="selected"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Add table
Reference in a new issue