diff options
| author | Appleman1234 <applemansigloo@gmail.com> | 2016-12-15 18:25:42 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-15 18:25:42 +0900 |
| commit | cae526e65a20f3da2d8884c4d8e8978c54120000 (patch) | |
| tree | 2954153dd49f616f5018490058ff4bfbd17300d3 /templates/search_form.html | |
| parent | b58fab98147a92c8e6d22f15d23684508b6bb811 (diff) | |
| parent | 5feae402cb55d49963bfd2c6f5a33d10690ecbc1 (diff) | |
Merge pull request #79 from lainchan/clean_prod_vichan_update
Merge vichan changes from upstream and changes directly applied to the site.
Diffstat (limited to 'templates/search_form.html')
| -rw-r--r-- | templates/search_form.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/search_form.html b/templates/search_form.html index 4c8bd077..095968de 100644 --- a/templates/search_form.html +++ b/templates/search_form.html @@ -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 %}…</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 %}" /> |
