aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJoris2022-07-08 21:58:03 +0200
committerJoris2022-07-08 21:58:03 +0200
commit0c6350476c3e014cbde951c3529065dcb69876ab (patch)
tree81baf8ab038fdcee09571c3276c7b8b33fe8115b /templates
parentd907b83922d194c9ca931986b991534be690700e (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.
Diffstat (limited to 'templates')
-rw-r--r--templates/payment/create.html1
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 }}"