Change template to remove HTML validation false positive

See https://github.com/motet-a/jinjalint/issues/19 for further details.
pull/5295/head
Thibaud Colas 2019-05-09 14:05:00 +01:00
rodzic 0a2531c1fa
commit b3cd5e0ead
1 zmienionych plików z 1 dodań i 5 usunięć

Wyświetl plik

@ -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 }}