From 1b73b94e074ae2bfe9b3c929332a768ab4e87b83 Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Fri, 18 Jul 2025 11:33:29 +0200 Subject: [PATCH] Refactor baseform templates --- fet2020/templates/baseform/email.html | 21 +-------------------- fet2020/templates/baseform/file.html | 16 +--------------- fet2020/templates/baseform/input.html | 22 ++++++++++++++++++++++ fet2020/templates/baseform/password.html | 21 +-------------------- fet2020/templates/baseform/text.html | 21 +-------------------- 5 files changed, 26 insertions(+), 75 deletions(-) create mode 100644 fet2020/templates/baseform/input.html diff --git a/fet2020/templates/baseform/email.html b/fet2020/templates/baseform/email.html index f96cc4ac..281cd4de 100644 --- a/fet2020/templates/baseform/email.html +++ b/fet2020/templates/baseform/email.html @@ -1,20 +1 @@ - +{% include "baseform/input.html" %} diff --git a/fet2020/templates/baseform/file.html b/fet2020/templates/baseform/file.html index 6199af54..281cd4de 100644 --- a/fet2020/templates/baseform/file.html +++ b/fet2020/templates/baseform/file.html @@ -1,15 +1 @@ - +{% include "baseform/input.html" %} diff --git a/fet2020/templates/baseform/input.html b/fet2020/templates/baseform/input.html new file mode 100644 index 00000000..e41905b1 --- /dev/null +++ b/fet2020/templates/baseform/input.html @@ -0,0 +1,22 @@ + diff --git a/fet2020/templates/baseform/password.html b/fet2020/templates/baseform/password.html index 85244570..281cd4de 100644 --- a/fet2020/templates/baseform/password.html +++ b/fet2020/templates/baseform/password.html @@ -1,20 +1 @@ - +{% include "baseform/input.html" %} diff --git a/fet2020/templates/baseform/text.html b/fet2020/templates/baseform/text.html index a4447221..281cd4de 100644 --- a/fet2020/templates/baseform/text.html +++ b/fet2020/templates/baseform/text.html @@ -1,20 +1 @@ - +{% include "baseform/input.html" %}