1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-26 03:57:36 +02:00

Filter buttons list with visible buttons only

This commit is contained in:
Yohann D'ANELLO
2020-04-27 03:56:22 +02:00
parent 2bc2048076
commit 5ea531fe68
6 changed files with 125 additions and 86 deletions

View File

@ -12,10 +12,10 @@
<form method="post">
{% csrf_token %}
{{form|crispy}}
<button class="btn btn-primary" type="submit">Submit</button>
<button class="btn btn-primary" type="submit">{% trans "Submit" %}</button>
</form>
{% if price_history %}
{% if price_history and price_history.1 %}
<hr>
<h4>{% trans "Price history" %}</h4>