forked from leftypol/leftypol
search_form.html: format
This commit is contained in:
parent
3c5cca9265
commit
626a3fd683
1 changed files with 7 additions and 7 deletions
|
|
@ -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 %}…</option>
|
<option value="none">{% trans %}Select board{% endtrans %}…</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 %}" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue