Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/unfold/templates/unfold/helpers/field.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% load unfold %}

{% if field.field.widget.input_type == "checkbox" and field.field.widget|class_name != "UnfoldAdminCheckboxSelectMultiple"%}
<div class="{% if field.errors %}errors {% endif %}flex flex-col gap-4 group mb-5">
<div class="{% if field.errors %}errors {% endif %}flex flex-col group mb-5">
<div class="flex flex-row gap-2 items-center">
{{ field }}

Expand All @@ -13,7 +13,7 @@
{% include "unfold/helpers/help_text.html" with help_text=field.help_text %}
</div>
{% else %}
<div class="{% if field.errors %}errors {% endif %}flex flex-col gap-4 group mb-5">
<div class="{% if field.errors %}errors {% endif %}flex flex-col group mb-5">
<div class="flex flex-col gap-2">
{% include "unfold/helpers/form_label.html" with field=field %}

Expand Down