diff options
author | Joris | 2022-07-08 21:58:03 +0200 |
---|---|---|
committer | Joris | 2022-07-08 21:58:03 +0200 |
commit | 0c6350476c3e014cbde951c3529065dcb69876ab (patch) | |
tree | 81baf8ab038fdcee09571c3276c7b8b33fe8115b | |
parent | d907b83922d194c9ca931986b991534be690700e (diff) |
Select no default category on payment creation
This prevents creating a payment with the first defined category, which
may not be the right one to use.
-rw-r--r-- | templates/payment/create.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/payment/create.html b/templates/payment/create.html index 519729e..9af68b6 100644 --- a/templates/payment/create.html +++ b/templates/payment/create.html @@ -84,6 +84,7 @@ <label class="g-Form__Label"> Catégorie <select name="category_id" class="g-Form__Select" required> + <option hidden disabled selected value></option> {% for category in categories %} <option value="{{ category.id }}" |