Add export to csv for books

This commit is contained in:
gabatxo1312 2026-01-30 17:06:59 +01:00
commit 60a5bf5583
No known key found for this signature in database
10 changed files with 166 additions and 27 deletions

View file

@ -4,7 +4,11 @@
{% import "components/cards.html" as cards %}
{% block main %}
{{ typography::heading("All books") }}
{% call typography::heading("All books") %}
<a href="/books/download_csv?{{ base_query }}" class="btn btn-info">
<i class="fa fa-download me-2" aria-hidden="true"></i> Download (csv)
</a>
{% endcall %}
{% call cards::card() %}
<form method="get">