Skip to content
Snippets Groups Projects
Commit eb3606b3 authored by Martin Burchell's avatar Martin Burchell
Browse files

Fix up topic filter to use new style

parent 931f6b76
No related branches found
No related tags found
1 merge request!80CSS styling and template reorganisation
{% if category_options %}
{% load i18n %}
<div class="form-group table-button-group">
<label class="col-sm-3 control-label" for="category-selector">{% trans "Topic" %}</label>
<select id="category-selector" name="category" class="form-control">
<div class="filter-topic form-group input-group">
<label class="col-sm-3 control-label" for="category-selector">{% trans "Topic" %}</label>
<div class="select-container">
<select id="category-selector" name="category" class="form-control">
<option value=""{% if not request.GET.category %} selected="selected"{% endif %}>{% trans "All topics" %}</option>
{% for cat in category_options %}
<option value="{{ cat.0 }}"{% if cat.0 == request.GET.category %} selected="selected"{% endif %}>{{ cat.1 }}</option>
{% endfor %}
</select>
</select>
</div>
</div>
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment