diff --git a/nested_admin/templates/nesting/admin/includes/inline.html b/nested_admin/templates/nesting/admin/includes/inline.html index 60c20c8..6d2ae86 100644 --- a/nested_admin/templates/nesting/admin/includes/inline.html +++ b/nested_admin/templates/nesting/admin/includes/inline.html @@ -27,6 +27,7 @@ {{ field.field }} {% endif %} {% endif %} + {% if "5.0"|django_version_gte %}{% endif %} {% if field.field.help_text %}
{% if "5.0"|django_version_lt %} @@ -36,7 +37,6 @@ {% endif %}
{% endif %} - {% if "5.0"|django_version_gte %}{% endif %} {% endfor %} {% if "5.0"|django_version_gte and not line.fields|length == 1 %}{% endif %}