From 11052951b74b9ad4b6a9412ae490086235f9154b Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 3 Jan 2021 13:40:40 +0100 Subject: Rewrite in Rust --- templates/payment/update.html | 144 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 templates/payment/update.html (limited to 'templates/payment/update.html') diff --git a/templates/payment/update.html b/templates/payment/update.html new file mode 100644 index 0000000..25e6915 --- /dev/null +++ b/templates/payment/update.html @@ -0,0 +1,144 @@ +{% extends "base.html" %} + +{% block title %} + Paiement {{ id }} +{% endblock title %} + +{% block main %} + +
+

+ + Retour aux paiements + +

+ + {% if error %} +
{{ error }}
+ {% endif %} + + {% if not payment %} + + Le paiement n’a pas été trouvé. + + {% else %} + +
+

Modification

+ + + + + + + + {% set user_id = form.user_id | default(value="" ~ payment.user_id) %} + + + + + {% set category_id = form.category_id | default(value="" ~ payment.category_id) %} + + + + + {% set date = form.date | default(value=payment.date) %} + + {% if payment.frequency == "Punctual" %} + + + {% else %} + + {% endif %} + +
+ +
+
+ +
+

Suppression

+ + + + + +
+ +
+
+ + {% endif %} +
+ +{% endblock main %} -- cgit v1.2.3