mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 00:26:33 +00:00
1a33290267
Fixes #109
15 lines
446 B
HTML
15 lines
446 B
HTML
{% extends 'layout.html' %}
|
|
{% block content %}
|
|
<div class="content-container">
|
|
<h2>Edit "{{ book.title }}"</h2>
|
|
|
|
<p class="book-cover">{% include 'snippets/book_cover.html' with book=book %}</p>
|
|
|
|
<form name="edit-book" action="/edit_book/{{ book.id }}" method="post" enctype="multipart/form-data">
|
|
{% csrf_token %}
|
|
{{ form.as_p }}
|
|
<button type="submit">Update book</button>
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|
|
|