{% extends "layout.html" %}
{% block body %}
{% if book %}
  <div class="editbook-cover-section col-sm-3 col-lg-3 col-xs-12">
    <div class="cover">
        <!-- Always use full-sized image for the book edit page -->
        <img id="detailcover" title="{{book.title}}" src="{{url_for('web.get_cover', book_id=book.id, resolution='og', c=book|last_modified)}}" />
    </div>
{% if current_user.role_delete_books() %}
    <div class="text-center">
      <button type="button" class="btn btn-danger" id="delete" d