mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-11 01:35:28 +00:00
cover: Fix code that was reverted during a merge conflict.
This commit is contained in:
parent
5c8710c1c4
commit
b0f414570b
1 changed files with 6 additions and 1 deletions
|
@ -144,7 +144,12 @@
|
|||
<div class="column ml-3">
|
||||
<p>{% include 'snippets/book_titleby.html' with book=book %}</p>
|
||||
|
||||
<form class="mt-1" name="add-book" method="post" action="{% url 'list-add-book' %}">
|
||||
<form
|
||||
class="mt-1"
|
||||
name="add-book"
|
||||
method="post"
|
||||
action="{% url 'list-add-book' %}{% if query %}?q={{ query }}{% endif %}"
|
||||
>
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="book" value="{{ book.id }}">
|
||||
<input type="hidden" name="list" value="{{ list.id }}">
|
||||
|
|
Loading…
Reference in a new issue