diff --git a/wagtail/admin/panels/inline_panel.py b/wagtail/admin/panels/inline_panel.py index c353ec44ec..b2e9f3eaea 100644 --- a/wagtail/admin/panels/inline_panel.py +++ b/wagtail/admin/panels/inline_panel.py @@ -150,7 +150,7 @@ class InlinePanel(Panel): compare.ChildRelationComparison, self.panel.db_field, field_comparisons, - label=self.label, + label=self.heading, ) ] diff --git a/wagtail/admin/tests/pages/test_edit_page.py b/wagtail/admin/tests/pages/test_edit_page.py index a9963eed25..ff161fedff 100644 --- a/wagtail/admin/tests/pages/test_edit_page.py +++ b/wagtail/admin/tests/pages/test_edit_page.py @@ -167,7 +167,7 @@ class TestPageEdit(WagtailTestUtils, TestCase): response, '