pull/519/head
inflrscns 7 years ago
parent 76fcd92956
commit 7cbdd0fd0a

@ -16,12 +16,12 @@
<button type="button" class="btn btn-danger" id="delete" data-toggle="modal" data-target="#deleteModal">{{_("Delete Book")}}</button> <button type="button" class="btn btn-danger" id="delete" data-toggle="modal" data-target="#deleteModal">{{_("Delete Book")}}</button>
</div> </div>
{% if book.data|length > 1 %} {% if book.data|length > 1 %}
<h3>Book Formats</h3> <h3>{{_('Book Formats')}}</h3>
<div class="text-center"> <div class="text-center">
{% for file in book.data %} {% for file in book.data %}
<p> <p>
<label>{{file.format}} ({{ file.uncompressed_size|filesizeformat }})</label> <label>{{file.format}} ({{ file.uncompressed_size|filesizeformat }})</label>
<a href="{{ url_for('delete_book_format', book_id=book.id, format=file.format) }}" class="btn-sm btn btn-danger" type="button">Delete</a> <a href="{{ url_for('delete_book_format', book_id=book.id, format=file.format) }}" class="btn-sm btn btn-danger" type="button">{{_('Delete')}}</a>
</p> </p>
{% endfor %} {% endfor %}
</div> </div>

Loading…
Cancel
Save