Skip to content

Commit

Permalink
fix: Correctly show heading in tabular template
Browse files Browse the repository at this point in the history
  • Loading branch information
drikusroor authored Jul 16, 2024
1 parent 6255d02 commit c80de41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nested_admin/templates/nesting/admin/inlines/tabular.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<fieldset class="module djn-fieldset {{ inline_admin_formset.classes }}" aria-labelledby="{{ inline_admin_formset.formset.prefix }}-heading">
{% if inline_admin_formset.is_collapsible %}<details><summary>{% endif %}

<h2 id="{{ inline_admin_formset.formset.prefix }}-heading" class="inline-heading"></h2>
<h2 id="{{ inline_admin_formset.formset.prefix }}-heading" class="inline-heading">
{% if inline_admin_formset.opts.title %}{{ inline_admin_formset.opts.title }}{% else %}{{ inline_admin_formset.opts.verbose_name_plural|capfirst }}{% endif %}
</h2>
{% if inline_admin_formset.is_collapsible %}</summary>{% endif %}
Expand Down

0 comments on commit c80de41

Please sign in to comment.