More model ids in urls

This commit is contained in:
Mouse Reeve
2020-11-10 21:45:22 -08:00
parent 4297e8647d
commit d71b451eef
4 changed files with 9 additions and 13 deletions

View File

@ -7,10 +7,9 @@
<p class="modal-card-title">Start "{{ book.title }}"</p>
<label class="delete" for="start-reading-{{ uuid }}" aria-label="close" role="button" tabindex="0"></label>
</header>
<form name="start-reading" action="/start-reading" method="post">
<form name="start-reading" action="/start-reading/{{ book.id }}" method="post">
<section class="modal-card-body">
{% csrf_token %}
<input type="hidden" name="book" value="{{ book.id }}">
<div class="field">
<label class="label">
Started reading