2 <div id="summary-view-editor" class="editor" style="display: none">
3 <!-- <div class="toolbar">
5 <div id="summary-view">
6 <img class="book-cover" src="{{ STATIC_URL }}img/sample_cover.png">
9 <label for="title">{% trans "Title" %}:</label>
10 <span data-ui-editable="true" data-edit-target="meta.displayTitle"
11 >{{ book.title }}</span>
14 <label>{% trans "Document ID" %}:</label>
15 <span>{{ book.slug }}</span>
18 <label>{% trans "Current version" %}:</label>
19 {{ book.doc.revision }} ({{ book.doc.head.created_at }})
21 <label>{% trans "Last edited by" %}:</label>
22 {{ book.doc.head.author }}
25 <label for="gallery">{% trans "Link to gallery" %}:</label>
26 <span data-ui-editable="true" data-edit-target="meta.galleryLink"
27 >{{ book.gallery }}</span>
30 <p><button type="button" id="publish_button">{% trans "Publish" %}</button></p>