mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-20 15:00:57 +00:00
Change template to remove HTML validation false positive
See https://github.com/motet-a/jinjalint/issues/19 for further details.
This commit is contained in:
parent
0a2531c1fa
commit
b3cd5e0ead
1 changed files with 1 additions and 5 deletions
|
|
@ -8,11 +8,7 @@
|
|||
<div class="row row-flush">
|
||||
|
||||
{% usage_count_enabled as uc_enabled %}
|
||||
{% if uc_enabled %}
|
||||
<div class="col10 divider-after">
|
||||
{% else %}
|
||||
<div class="col12">
|
||||
{% endif %}
|
||||
<div class="{% if uc_enabled %}col10 divider-after{% else %}col12{% endif %}">
|
||||
<form action="{% url 'wagtailsnippets:edit' model_opts.app_label model_opts.model_name instance.pk|admin_urlquote %}" method="POST" novalidate{% if form.is_multipart %} enctype="multipart/form-data"{% endif %}>
|
||||
{% csrf_token %}
|
||||
{{ edit_handler.render_form_content }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue