Skip to content
Snippets Groups Projects
Commit a746edab authored by Ian Hallworth's avatar Ian Hallworth
Browse files

Filter select ids are now unique

parent b2186c32
No related branches found
No related tags found
2 merge requests!210Staging,!202Filter select ids are now unique
Pipeline #11026 passed
......@@ -2,7 +2,7 @@
{% load i18n %}
<div class="filter-language input-group">
<label class="control-label" for="language-selector">{% trans "Language" %}</label>
<select id="location-selector" name="language" class="form-control">
<select id="language-selector" name="language" class="form-control">
<option value="All Languages" selected="selected">{% trans "All Languages" %}</option>
{% for language in languages.items %}
<option value="{{ language }}"{% if language == request.GET.language %} selected="selected"{% endif %}>{{ language }}</option>
......
......@@ -2,7 +2,7 @@
{% load i18n %}
<div class="filter-risk input-group">
<label class="control-label" for="risk-selector">{% trans "Risk" %}</label>
<select id="location-selector" name="risk" class="form-control">
<select id="risk-selector" name="risk" class="form-control">
<option value="All Risks" selected="selected">{% trans "All Risks" %}</option>
{% for risk in risks.items %}
<option value="{{ risk }}"{% if risk == request.GET.risk %} selected="selected"{% endif %}>{{ risk }}</option>
......
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