Fix spacing issues

{% if saved_query==q %} was causing a parse error. White space around
equality
This commit is contained in:
Martin Whitehouse 2022-06-20 16:08:05 +02:00
parent c7b225617d
commit 41d7caace4
No known key found for this signature in database
GPG Key ID: 8492A7A45769CD35

View File

@ -29,7 +29,7 @@
<label for='saved_query'>{% trans "Select Query:" %}</label>
<select name='saved_query'>
<option value="">--------</option>{% for q in user_saved_queries_ %}
<option value="{{ q.id }}"{% if saved_query==q %} selected{% endif %}>{{ q.title }}</option>{% endfor %}
<option value="{{ q.id }}"{% if saved_query == q %} selected{% endif %}>{{ q.title }}</option>{% endfor %}
</select>
<input class="btn btn-primary" type='submit' value='{% trans "Filter Report" %}'>
</form>