Skip to content

Commit

Permalink
fix: Correctly show heading in tabular template (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
drikusroor authored Jul 23, 2024
1 parent 6255d02 commit f894371
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 f894371

Please sign in to comment.