Fixed unreserve state issue
This commit is contained in:
parent
d843dc3f72
commit
b81f35115c
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
<form method="POST" action="/reservation/update">
|
||||
<input type="hidden" name="wishlist_id" value="{{ wishlist.config.id }}">
|
||||
<input type="hidden" name="item_id" value="{{ item.id }}">
|
||||
<input type="hidden" name="reserved" value="{{ 'false' if item.reserved else 'true' }}">
|
||||
<input type="hidden" name="reserved" value="{{ 'false' if item.reservation else 'true' }}">
|
||||
{% if item.reserved %}
|
||||
<input type="text" name="name">
|
||||
<button type="submit" class="reserve-button">Unreserve</button>
|
||||
|
|
Loading…
Reference in a new issue