mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-08 09:00:59 +00:00
Remove heading element wrapped around label element in order to resolve resulting incorrect heading structure.
This commit is contained in:
parent
1e5612ff90
commit
7e19f28ff5
1 changed files with 3 additions and 5 deletions
|
|
@ -2,11 +2,9 @@
|
|||
{% for child in self.children %}
|
||||
<li class="object {{ child.classes|join:" " }}">
|
||||
{% if child.heading %}
|
||||
<h3>
|
||||
<label {% if child.id_for_label %}for="{{ child.id_for_label }}"{% endif %}>
|
||||
{{ child.heading }}
|
||||
</label>
|
||||
</h3>
|
||||
<label {% if child.id_for_label %}for="{{ child.id_for_label }}"{% endif %}>
|
||||
{{ child.heading }}
|
||||
</label>
|
||||
{% endif %}
|
||||
<div class="object-layout">
|
||||
{% if child.help_text %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue