Revert "add print_labels instead of call submit from the template"

This reverts commit c8aefc6029.
This commit is contained in:
Cayo Puigdefabregas 2022-04-26 12:55:48 +02:00
parent ad9a8a04bd
commit 2a7eeb0b5d

View file

@ -237,7 +237,7 @@
{% for f in form_print_labels %}
{{ f }}
{% endfor %}
<a href="javascript:print_labels()" class="dropdown-item">
<a href="javascript:$('#print_labels').submit()" class="dropdown-item">
<i class="bi bi-printer"></i>
Print labels
</a>