mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-25 00:54:52 +00:00
Fix malformed HTML: wrong tags, tags out of place
This commit is contained in:
parent
f7aff62fad
commit
e698af8b08
6 changed files with 6 additions and 9 deletions
|
|
@ -1,10 +1,10 @@
|
|||
<div {{ self.attrs }} class="c-dropdown {% if is_parent %}t-inverted{% else %}t-default{% endif %}" data-dropdown>
|
||||
<a href="javascript:void(0)" title="{{ title }}" class="c-dropdown__button u-btn-current">
|
||||
{{ label }}
|
||||
<div data-dropdown-toggle class="o-icon c-dropdown__toggle [ icon icon-arrow-down ]"></div>
|
||||
<div data-dropdown-toggle class="o-icon c-dropdown__toggle [ icon icon-arrow-down ]"></div>
|
||||
</a>
|
||||
<div class="t-dark">
|
||||
<ul role="menu" class="c-dropdown__menu u-toggle u-arrow u-arrow--tl u-background">
|
||||
<ul role="menu" class="c-dropdown__menu u-toggle u-arrow u-arrow--tl u-background">
|
||||
{% for button in buttons %}
|
||||
<li class="c-dropdown__item ">
|
||||
<a href="{{ button.url }}" title="{{ button.attrs.title }}" class="u-link is-live {{ button.classes|join:' ' }}">
|
||||
|
|
@ -12,5 +12,6 @@
|
|||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
{% include "wagtailadmin/permissions/includes/collection_member_permissions_form.html" with form=form only %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<script type="text/django-form-template" id="id_{{ formset.prefix }}-EMPTY_FORM_TEMPLATE">
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@
|
|||
{{ cell }}
|
||||
</td>
|
||||
{% endfor %}
|
||||
<td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
|
|
|||
|
|
@ -61,7 +61,4 @@
|
|||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
{% include "wagtailusers/groups/includes/page_permissions_form.html" with form=form only %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<script type="text/django-form-template" id="id_{{ formset.prefix }}-EMPTY_FORM_TEMPLATE">
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
<a href="{% url 'wagtailusers_groups:edit' group.id %}">{{ group.name }}</a>
|
||||
</h2>
|
||||
</td>
|
||||
</li>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Reference in a new issue