Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix checkbox style in forms

Krzysztof Białogłowicz4692ff80d098
diff --git a/templates/materializecssform/field.html b/templates/materializecssform/field.html
index 79d959b782..60c1d49203 100644
--- a/templates/materializecssform/field.html
+++ b/templates/materializecssform/field.html
@@ -8,7 +8,7 @@
<div class="{{ classes.single_value }}">
<p>
{% if field.auto_id %}
- {{ field }}
+ <input id="{{ field.auto_id }}" name="{{ field.name }}" class="filled-in" type="checkbox">
<label for="{{ field.auto_id }}">
{{ field.label }}
</label>