From 959f743c053e77d5f7fb9d601f4b47ef7986175e Mon Sep 17 00:00:00 2001 From: Celestino Rey Date: Thu, 27 Mar 2025 09:22:51 +0100 Subject: [PATCH] =?UTF-8?q?A=C3=B1ado=20formulario=20macrociclo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../macrociclos/form_macrociclo.html | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/templates/macrociclos/form_macrociclo.html diff --git a/src/templates/macrociclos/form_macrociclo.html b/src/templates/macrociclos/form_macrociclo.html new file mode 100644 index 0000000..c8ca90e --- /dev/null +++ b/src/templates/macrociclos/form_macrociclo.html @@ -0,0 +1,23 @@ +{% extends 'base.html' %} + +{% block menuapp %} + +{% include 'macrociclos/_menu-macrociclos.html' %} + +{% endblock menuapp %} + +{% block content %} +
+ +

{% if form.instance.pk %}Editar macrociclo{% else %}Nuevo macrociclo{% endif %}

+
+
+ {% csrf_token %} + {{ form.as_p }} +
+ +
+
+
+
+{% endblock %}