search: allow text placing before form (#67390)

This commit is contained in:
Serghei Mihai 2022-07-15 11:12:11 +02:00 committed by Frédéric Péters
parent f4bd375ba7
commit 8492dc2403
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@
<h2>{{ cell.title }}</h2>
{% endif %}
{% block search-form-pre %}
{% endblock %}
{% block search-form %}
<form id="combo-search-form-{{ cell.pk }}" class="combo-search-form">
<input type="search" name="q" autocomplete="off" id="combo-search-input-{{ cell.pk }}" class="combo-search-input" {% if cell.autofocus %}autofocus {% endif %}{% if cell.input_placeholder %}placeholder="{{ cell.input_placeholder }}" {% endif %}/>