Skip to content

Commit

Permalink
Change template to remove HTML validation false positive
Browse files Browse the repository at this point in the history
See motet-a/jinjalint#19 for further details.
  • Loading branch information
thibaudcolas committed May 10, 2019
1 parent a21649d commit 8854ffe
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 8854ffe

Please sign in to comment.