|
|
|
@ -54,7 +54,8 @@
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<div>
|
|
|
|
|
{% include 'partials/notify.html' %}
|
|
|
|
|
{# Not sure why this was here, but it duplicates errors! #}
|
|
|
|
|
{# include 'partials/notify.html' #}
|
|
|
|
|
<form class="skipEmptyFields" method="POST" hx-post="{% url 'search' %}"
|
|
|
|
|
hx-trigger="change"
|
|
|
|
|
hx-target="#results"
|
|
|
|
@ -139,11 +140,11 @@
|
|
|
|
|
<input
|
|
|
|
|
id="full_query"
|
|
|
|
|
type="checkbox"
|
|
|
|
|
class="switch"
|
|
|
|
|
class="switch is-rounded"
|
|
|
|
|
{% if params.query_full is not None %}checked="checked"{% else %}none{% endif %}
|
|
|
|
|
{% if not perms.core.query_search %}disabled{% endif %}
|
|
|
|
|
data-script="on click toggle .is-hidden on #query_full">
|
|
|
|
|
<label
|
|
|
|
|
class="{% if not perms.core.query_search %}is-disabled{% endif %}"
|
|
|
|
|
for="full_query">Full query </label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|