Curlylint fixes

This commit is contained in:
Joachim 2021-12-29 20:16:53 +01:00
parent c53b5c306f
commit 0c2997e562
2 changed files with 5 additions and 5 deletions

View file

@ -37,6 +37,8 @@
<section class="mb-5"> <section class="mb-5">
{% if not result_set.connector.local %} {% if not result_set.connector.local %}
<details class="details-panel box" {% if forloop.first %}open{% endif %}> <details class="details-panel box" {% if forloop.first %}open{% endif %}>
{% endif %}
{% if not result_set.connector.local %}
<summary class="is-flex is-align-items-center is-flex-wrap-wrap is-gap-2"> <summary class="is-flex is-align-items-center is-flex-wrap-wrap is-gap-2">
<h3 class="mb-0 title is-5"> <h3 class="mb-0 title is-5">
{% trans 'Results from' %} {% trans 'Results from' %}
@ -49,9 +51,6 @@
<div class="mt-5"> <div class="mt-5">
<div class="is-flex is-flex-direction-row-reverse"> <div class="is-flex is-flex-direction-row-reverse">
<div>
</div>
<ul class="is-flex-grow-1"> <ul class="is-flex-grow-1">
{% for result in result_set.results %} {% for result in result_set.results %}
<li class="{% if not forloop.last %}mb-5{% endif %}"> <li class="{% if not forloop.last %}mb-5{% endif %}">
@ -86,6 +85,7 @@
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>
</div>
{% if not result_set.connector.local %} {% if not result_set.connector.local %}
</details> </details>
{% endif %} {% endif %}

View file

@ -27,7 +27,7 @@
</summary> </summary>
<div class="mt-3"> <div class="mt-3">
<form id="filters" method="{{ method|default:'get' }}" action="{{ action|default:request.path }}" tabindex="0"> <form id="filters" method="{{ method|default:'get' }}" action="{{ action|default:request.path }}">
{% if method == 'post' %} {% if method == 'post' %}
{% csrf_token %} {% csrf_token %}
{% endif %} {% endif %}