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

Feedback page filter selects now have unique ids.

parent f3d0c377
No related branches found
No related tags found
1 merge request!201Fix duplicate ids
Pipeline #11025 failed
......@@ -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