forked from mirrors/bookwyrm
Adds clear filters link
This commit is contained in:
parent
53af667698
commit
f9e5bdebc6
1 changed files with 3 additions and 0 deletions
|
@ -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">
|
||||||
|
|
Loading…
Reference in a new issue