{% load i18n wagtailadmin_tags %} {% fragment as id %}inline_child_{{ child.form.prefix }}{% endfragment %} {% fragment as panel_id %}{{ id }}-panel{% endfragment %}
{% panel id=panel_id %} {# By not passing any header controls or heading to the panel template, we get rid of the collapsible UI #} {% if child.form.non_field_errors %} {% endif %}
{{ child.render_form_content }}
{% endpanel %}