From 5a9ff169a7e44062d486b7db8eabf55b936e9f35 Mon Sep 17 00:00:00 2001 From: moonshinerd Date: Sun, 23 Feb 2025 15:29:26 -0300 Subject: [PATCH] alterando template de gerar calendarios para evitar erros do usuario no input do mes --- .../eventos/templates/eventos/calendario.html | 96 +++++++++++++++++-- .../admin/{dat => date_range_filter.html} | 0 2 files changed, 89 insertions(+), 7 deletions(-) rename sigi/templates/admin/{dat => date_range_filter.html} (100%) diff --git a/sigi/apps/eventos/templates/eventos/calendario.html b/sigi/apps/eventos/templates/eventos/calendario.html index 0354a80..14207d3 100644 --- a/sigi/apps/eventos/templates/eventos/calendario.html +++ b/sigi/apps/eventos/templates/eventos/calendario.html @@ -22,17 +22,76 @@
+
- {{ form }} + + {% for field in form %} + {% if field.name != "mes_ano" and field.name != "categorias" and field.name != "status" %} + {{ field }} + {% endif %} + + {% endfor %} + + +
+
+ Categorias: + {{ form.categorias }} +
+
+ + +
+
+ Status: + {{ form.status }} +
+
+ + +
+
+ Período: +
+ + +
+
+ + +
+ + +
+
+