diff --git a/jet/templates/admin/includes/fieldset.html b/jet/templates/admin/includes/fieldset.html index 86cf365a..0bdd5cf1 100644 --- a/jet/templates/admin/includes/fieldset.html +++ b/jet/templates/admin/includes/fieldset.html @@ -5,11 +5,11 @@
{{ fieldset.description|safe }}
{% endif %} {% for line in fieldset %} -
- {% if line.fields|length_is:'1' %}{{ line.errors }}{% endif %} +
+ {% if line.fields|length == '1' %}{{ line.errors }}{% endif %} {% for field in line %} - - {% if not line.fields|length_is:'1' and not field.is_readonly %}{{ field.errors }}{% endif %} + + {% if not line.fields|length == '1' and not field.is_readonly %}{{ field.errors }}{% endif %} {% if field.is_checkbox %} {{ field.field }}{{ field.label_tag }} {% else %}