diff options
author | Joris | 2025-01-31 23:10:54 +0100 |
---|---|---|
committer | Joris | 2025-01-31 23:30:33 +0100 |
commit | 1faba72b83c3c061953051f9263e67fd11d37465 (patch) | |
tree | 8d6521db2738fa04b1174a88fa20454558784ad9 | |
parent | 3a7a2fc20da14f3e7b62ecda91f66c87333333fe (diff) |
Fix selecting connected user
-rw-r--r-- | templates/income/create.html | 2 | ||||
-rw-r--r-- | templates/payment/create.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/income/create.html b/templates/income/create.html index a7755db..2f57250 100644 --- a/templates/income/create.html +++ b/templates/income/create.html @@ -49,7 +49,7 @@ {% for user in users %} <option value="{{ user.id }}" - {% if "" ~ user.id == user_id %} selected {% endif %} + {% if ("" ~ user.id) == ("" ~ user_id) %} selected {% endif %} > {{ user.name }} </option> diff --git a/templates/payment/create.html b/templates/payment/create.html index 7bcc536..8d18c13 100644 --- a/templates/payment/create.html +++ b/templates/payment/create.html @@ -69,7 +69,7 @@ {% for user in users %} <option value="{{ user.id }}" - {% if "" ~ user.id == user_id %} + {% if ("" ~ user.id) == ("" ~ user_id) %} selected {% endif %} > |