Skip to content

Commit

Permalink
Mark date filter as active too (check by different criteria) #207
Browse files Browse the repository at this point in the history
  • Loading branch information
darklow committed Apr 22, 2014
1 parent 18e08f2 commit c5a99e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suit/templates/admin/filter.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% load i18n %}
<select data-name="{{ field_name }}" class="auto-width search-filter{{ spec.lookup_val|yesno:' active,' }}" style="max-width: 200px">
<select data-name="{{ field_name }}" class="auto-width search-filter{% if spec.lookup_val or spec.used_parameters %} active{% endif %}" style="max-width: 200px">
{% for choice in choices %}
{% if forloop.first %}
<option value="">{{ title|capfirst }}</option>
Expand Down

0 comments on commit c5a99e3

Please sign in to comment.