Adds clear filters link

This commit is contained in:
Mouse Reeve 2021-03-25 13:39:19 -07:00
parent 53af667698
commit f9e5bdebc6

View file

@ -82,6 +82,9 @@
</div> </div>
<button class="button is-primary">{% trans "Apply filters" %}</button> <button class="button is-primary">{% trans "Apply filters" %}</button>
</form> </form>
{% if request.GET %}
<a class="help" href="{% url 'directory' %}">{% trans "Clear filters" %}</a>
{% endif %}
</div> </div>
<div class="columns is-multiline"> <div class="columns is-multiline">