1
0
Fork 0

Fixes edit shelf view

This commit is contained in:
Mouse Reeve 2021-01-18 16:38:04 -08:00
parent dda4698a84
commit a7620c07cb
2 changed files with 7 additions and 6 deletions

View file

@ -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 %}