aboutsummaryrefslogtreecommitdiff
path: root/templates/payment/create.html
diff options
context:
space:
mode:
authorJoris2021-10-09 10:27:45 +0200
committerJoris2021-10-10 21:21:32 +0200
commitaf1177e814d19e63ce39c42fc7c5888e4b3d9604 (patch)
tree9e8d495f21a82e8cff92fe7692eb856b0e900e07 /templates/payment/create.html
parenta370f989fe3b864676ed9aecf57f70e55e7958b2 (diff)
Search by category
Diffstat (limited to 'templates/payment/create.html')
-rw-r--r--templates/payment/create.html26
1 files changed, 14 insertions, 12 deletions
diff --git a/templates/payment/create.html b/templates/payment/create.html
index aea6fcd..5bae767 100644
--- a/templates/payment/create.html
+++ b/templates/payment/create.html
@@ -72,18 +72,20 @@
{% set category_id = form.category_id | default(value="") %}
- <label class="g-Form__Label" for="category_id">Catégorie</label>
- <select name="category_id" id="category_id" class="g-Form__Select" required>
- {% for category in categories %}
- <option
- value="{{ category.id }}"
- style="color: {{ category.color }}"
- {% if "" ~ category.id == category_id %} selected {% endif %}
- >
- {{ category.name }}
- </option>
- {% endfor %}
- </select>
+ <label class="g-Form__Label" for="category_id">
+ Catégorie
+ <select name="category_id" id="category_id" class="g-Form__Select" required>
+ {% for category in categories %}
+ <option
+ value="{{ category.id }}"
+ style="color: {{ category.color }}"
+ {% if "" ~ category.id == category_id %} selected {% endif %}
+ >
+ {{ category.name }}
+ </option>
+ {% endfor %}
+ </select>
+ </label>
{% set date = form.date | default(value=now() | date(format="%Y-%m-%d")) %}