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

Don't select each age range when none are selected

parent 6b82c170
Branches age-range-support
No related tags found
2 merge requests!166Staging,!150Age range support
Pipeline #9402 passed
......@@ -4,7 +4,7 @@
<select id="age-range-selector" class="form-control" name="age_range" multiple autocomplete="off">
{% for option in age_range_options %}
<option value="{{ option.0 }}"{% if not selected_age_ranges or option.0 in selected_age_ranges %} selected="selected"{% endif %}>{{ option.1 }}</option>
<option value="{{ option.0 }}"{% if option.0 in selected_age_ranges %} selected="selected"{% endif %}>{{ option.1 }}</option>
{% endfor %}
</select>
</div>
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