From eeeeaa50dc484b30b17cb1fa1925844fa634da64 Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Tue, 22 Aug 2023 20:03:57 +0000 Subject: [PATCH] add new and update existing baseforms --- fet2020/templates/baseform/checkbox.html | 16 ++++++++++++++++ fet2020/templates/baseform/date.html | 20 ++++++++++++++++++++ fet2020/templates/baseform/date_time.html | 20 ++++++++++++++++++-- fet2020/templates/baseform/file.html | 13 +++++++++++++ fet2020/templates/baseform/password.html | 9 ++++++++- fet2020/templates/baseform/select.html | 13 +++++++++---- fet2020/templates/baseform/text.html | 9 ++++++++- fet2020/templates/baseform/textarea.html | 19 +++++++++++++++++++ 8 files changed, 111 insertions(+), 8 deletions(-) create mode 100644 fet2020/templates/baseform/checkbox.html create mode 100644 fet2020/templates/baseform/date.html create mode 100644 fet2020/templates/baseform/file.html create mode 100644 fet2020/templates/baseform/textarea.html diff --git a/fet2020/templates/baseform/checkbox.html b/fet2020/templates/baseform/checkbox.html new file mode 100644 index 00000000..3b706281 --- /dev/null +++ b/fet2020/templates/baseform/checkbox.html @@ -0,0 +1,16 @@ + diff --git a/fet2020/templates/baseform/date.html b/fet2020/templates/baseform/date.html new file mode 100644 index 00000000..9a6a843e --- /dev/null +++ b/fet2020/templates/baseform/date.html @@ -0,0 +1,20 @@ + diff --git a/fet2020/templates/baseform/date_time.html b/fet2020/templates/baseform/date_time.html index 1784820e..7935f829 100644 --- a/fet2020/templates/baseform/date_time.html +++ b/fet2020/templates/baseform/date_time.html @@ -5,8 +5,24 @@
{{ field.errors }}
{% endif %} - - + + {% if field.help_text %} {{ field.help_text }} {% endif %} diff --git a/fet2020/templates/baseform/file.html b/fet2020/templates/baseform/file.html new file mode 100644 index 00000000..5a072905 --- /dev/null +++ b/fet2020/templates/baseform/file.html @@ -0,0 +1,13 @@ + diff --git a/fet2020/templates/baseform/password.html b/fet2020/templates/baseform/password.html index 729a7aa6..0e9731a0 100644 --- a/fet2020/templates/baseform/password.html +++ b/fet2020/templates/baseform/password.html @@ -5,7 +5,14 @@
{{ field.errors }}
{% endif %} - + {% if field.help_text %} {{ field.help_text }} {% endif %} diff --git a/fet2020/templates/baseform/select.html b/fet2020/templates/baseform/select.html index df69e7bf..ee37c873 100644 --- a/fet2020/templates/baseform/select.html +++ b/fet2020/templates/baseform/select.html @@ -5,9 +5,14 @@
{{ field.errors }}
{% endif %} - + {% for elem in field %} + {{ elem }} + {% endfor %} diff --git a/fet2020/templates/baseform/text.html b/fet2020/templates/baseform/text.html index 37842bc8..cf407781 100644 --- a/fet2020/templates/baseform/text.html +++ b/fet2020/templates/baseform/text.html @@ -5,7 +5,14 @@
{{ field.errors }}
{% endif %} - + {% if field.help_text %} {{ field.help_text }} {% endif %} diff --git a/fet2020/templates/baseform/textarea.html b/fet2020/templates/baseform/textarea.html new file mode 100644 index 00000000..8f03fcd8 --- /dev/null +++ b/fet2020/templates/baseform/textarea.html @@ -0,0 +1,19 @@ +