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/create.html | 120 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 templates/payment/create.html (limited to 'templates/payment/create.html') diff --git a/templates/payment/create.html b/templates/payment/create.html new file mode 100644 index 0000000..aea6fcd --- /dev/null +++ b/templates/payment/create.html @@ -0,0 +1,120 @@ +{% extends "base.html" %} + +{% block title %} + Nouveau paiement +{% endblock title %} + +{% block main %} + +
+

+ + Retour aux paiements + +

+ +
+

+ Nouveau paiement + {% if query.frequency != "Monthly" %} + ponctuel + {% else %} + mensuel + {% endif %} +

+ + {% if error %} +
{{ error }}
+ {% endif %} + + + + + + + + {% set user_id = form.user_id | default(value="" ~ connected_user.id) %} + + + + + {% set category_id = form.category_id | default(value="") %} + + + + + {% set date = form.date | default(value=now() | date(format="%Y-%m-%d")) %} + + {% if query.frequency != "Monthly" %} + + + {% else %} + + {% endif %} + + + +
+ +
+
+
+ +{% endblock main %} -- cgit v1.2.3