Compare commits
2 Commits
19884bcbc4
...
8317ae83c2
Author | SHA1 | Date | |
---|---|---|---|
8317ae83c2 | |||
bfe9fc7c2c |
@ -0,0 +1,17 @@
|
||||
{% load export_url from django_tables2 %}
|
||||
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-sm btn-secondary dropdown-toggle"
|
||||
type="button"
|
||||
data-bs-toggle="dropdown"
|
||||
aria-expanded="false">
|
||||
<i class="bi bi-download"></i> Download
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
{% for format in view.export_formats %}
|
||||
<li>
|
||||
<a class="dropdown-item" href="{% export_url format %}">{{ format }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user