Fixes edit shelf view
This commit is contained in:
parent
dda4698a84
commit
a7620c07cb
2 changed files with 7 additions and 6 deletions
|
@ -75,7 +75,7 @@
|
|||
|
||||
<div class="hidden box mb-5" id="edit-shelf-form">
|
||||
<h2 class="title is-4">Edit shelf</h2>
|
||||
<form name="create-shelf" action="/edit-shelf/{{ shelf.id }}" method="post">
|
||||
<form name="create-shelf" action="{{ shelf.local_path }}" method="post">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="user" value="{{ request.user.id }}">
|
||||
{% if shelf.editable %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue