search_form.html: format

This commit is contained in:
Zankaria 2025-07-07 22:20:08 +02:00
parent 3c5cca9265
commit 626a3fd683

View file

@ -2,17 +2,17 @@
<h2>{% trans %}Search{% endtrans %}</h2> <h2>{% trans %}Search{% endtrans %}</h2>
<form style="display:inline" action="" method="get"> <form style="display:inline" action="" method="get">
<p> <p>
<label style="display:inline" for="search">{% trans %}Phrase:{% endtrans %}</label> <label style="display:inline" for="search">{% trans %}Phrase:{% endtrans %}</label>
<input id="search" name="search" type="text" size="40" value="{{ search }}"> <input id="search" name="search" type="text" size="40" value="{{ search }}">
<select name="board"> <select name="board">
<option value="none">{% trans %}Select board{% endtrans %}&hellip;</option> <option value="none">{% trans %}Select board{% endtrans %}&hellip;</option>
{% for b2 in boards %} {% for b2 in boards %}
{% if b2 == b %} {% if b2 == b %}
<option value="{{ b2 }}" selected>/{{ b2 }}/</option> <option value="{{ b2 }}" selected>/{{ b2 }}/</option>
{% else %} {% else %}
<option value="{{ b2 }}">/{{ b2 }}/</option> <option value="{{ b2 }}">/{{ b2 }}/</option>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</select> </select>
<input type="submit" value="{% trans %}Search{% endtrans %}" /> <input type="submit" value="{% trans %}Search{% endtrans %}" />