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>
|
||||
<form style="display:inline" action="" method="get">
|
||||
<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 }}">
|
||||
<select name="board">
|
||||
<option value="none">{% trans %}Select board{% endtrans %}…</option>
|
||||
|
||||
|
||||
{% for b2 in boards %}
|
||||
{% if b2 == b %}
|
||||
<option value="{{ b2 }}" selected>/{{ b2 }}/</option>
|
||||
{% else %}
|
||||
<option value="{{ b2 }}">/{{ b2 }}/</option>
|
||||
{% endif %}
|
||||
{% if b2 == b %}
|
||||
<option value="{{ b2 }}" selected>/{{ b2 }}/</option>
|
||||
{% else %}
|
||||
<option value="{{ b2 }}">/{{ b2 }}/</option>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</select>
|
||||
<input type="submit" value="{% trans %}Search{% endtrans %}" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue