mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-24 00:50:35 +00:00
Adds cancel button to edit book page
This commit is contained in:
parent
4b1c8bc9ae
commit
a48bb5a16e
2 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
{% if request.user.is_authenticated and perms.bookwyrm.edit_book %}
|
||||
<div class="level-right">
|
||||
<a href="{{ book.id }}/edit">edit
|
||||
<a href="{{ book.id }}/edit">
|
||||
<span class="icon icon-pencil">
|
||||
<span class="is-sr-only">Edit Book</span>
|
||||
</span>
|
||||
|
|
|
@ -78,6 +78,7 @@
|
|||
</div>
|
||||
<div class="block">
|
||||
<button class="button is-primary" type="submit">Save</button>
|
||||
<a class="button is-danger is-light" href="/book/{{ book.id }}">Cancel</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
|
Loading…
Reference in a new issue