reverse list order while displaying buttons

This commit is contained in:
Aaron Kimbre 2022-01-18 22:34:40 -06:00
parent 7f7b854b8b
commit 8cc630d420

View File

@ -12,7 +12,7 @@
<div class="row">
<div class="col">
Items: <br/>
{% for report in reports %}
{% for report in reports|reverse %}
<a role="button" class="btn btn-primary btn btn-block"
href='{{url_for('reports.items_by_date', date=report.date)}}'>
{{report.date}}
@ -39,9 +39,3 @@
</div>
</div>
{% endblock %}
{% block js %}
{{ super () }}
{% endblock %}