From 95ac0e40cbbb3b30e707e8bc3db7d300dc587aba Mon Sep 17 00:00:00 2001 From: Serghei Mihai Date: Thu, 12 Aug 2021 10:45:45 +0200 Subject: [PATCH] templates: customize checkbox and radio buttons rendering (#56114) --- gadjo/templates/django/forms/widgets/checkbox.html | 1 + gadjo/templates/django/forms/widgets/radio_option.html | 1 + 2 files changed, 2 insertions(+) create mode 100644 gadjo/templates/django/forms/widgets/checkbox.html create mode 100644 gadjo/templates/django/forms/widgets/radio_option.html diff --git a/gadjo/templates/django/forms/widgets/checkbox.html b/gadjo/templates/django/forms/widgets/checkbox.html new file mode 100644 index 0000000..03dcd42 --- /dev/null +++ b/gadjo/templates/django/forms/widgets/checkbox.html @@ -0,0 +1 @@ + diff --git a/gadjo/templates/django/forms/widgets/radio_option.html b/gadjo/templates/django/forms/widgets/radio_option.html new file mode 100644 index 0000000..28aba2f --- /dev/null +++ b/gadjo/templates/django/forms/widgets/radio_option.html @@ -0,0 +1 @@ +{% if widget.wrap_label %}{% endif %}{% include "django/forms/widgets/input.html" %}{% if widget.wrap_label %} {{ widget.label }}{% endif %}