Quellcode durchsuchen

Fix board filter listing in the search form

pull/79/head
Benjamin Southall vor 7 Jahren
Ursprung
Commit
b89fe3046b
1 geänderte Dateien mit 7 neuen und 2 gelöschten Zeilen
  1. +7
    -2
      templates/search_form.html

+ 7
- 2
templates/search_form.html Datei anzeigen

@@ -6,8 +6,13 @@
<input id="search" name="search" type="text" size="40" value="{{ search }}">
<select name="board">
<option value="none">{% trans %}Select board{% endtrans %}&hellip;</option>
{% for b in boards %}
<option value="{{ b }}"{% if b == board %} selected{% endif %}>/{{ b }}/</option>
{% for b2 in boards %}
{% 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 %}" />


Laden…
Abbrechen
Speichern