Skip to content

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

Fit 'input' on one line

Pacu2e336420120c2
diff --git a/templates/materializecssform/field.html b/templates/materializecssform/field.html
index 1374cbd2da..37e1870731 100644
--- a/templates/materializecssform/field.html
+++ b/templates/materializecssform/field.html
@@ -35,16 +35,7 @@
{% endif %}
{% for choice in field %}
<p>
- <input
- id="{{ choice.id_for_label }}"
- name="{{ choice.name }}"
- class="filled-in"
- type="checkbox"
- value="{{ choice.data.value }}"
- {% if choice.data.value in choice.value %}
- checked="checked"
- {% endif %}
- >
+ <input id="{{ choice.id_for_label }}" name="{{ choice.name }}" class="filled-in" type="checkbox" value="{{ choice.choice_value }}" {% if choice.choice_value in choice.value %} checked="checked" {% endif %}>
<label for="{{ choice.id_for_label }}">
{{ choice.choice_label }}
</label>