From 7e19f28ff5ae6e8f2d3d77fbdd4e49961f46d628 Mon Sep 17 00:00:00 2001 From: Helen C Date: Wed, 5 Jun 2019 12:10:20 +0100 Subject: [PATCH] Remove heading element wrapped around label element in order to resolve resulting incorrect heading structure. --- .../templates/wagtailadmin/edit_handlers/object_list.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/wagtail/admin/templates/wagtailadmin/edit_handlers/object_list.html b/wagtail/admin/templates/wagtailadmin/edit_handlers/object_list.html index f8d04811a..a8cbb343a 100644 --- a/wagtail/admin/templates/wagtailadmin/edit_handlers/object_list.html +++ b/wagtail/admin/templates/wagtailadmin/edit_handlers/object_list.html @@ -2,11 +2,9 @@ {% for child in self.children %}
  • {% if child.heading %} -

    - -

    + {% endif %}
    {% if child.help_text %}