1
0
Fork 0

views handler for creating readthrough dates

This commit is contained in:
Mouse Reeve 2021-01-10 10:51:56 -08:00
parent b0e4fc2aa9
commit 327020f7b3
4 changed files with 18 additions and 1 deletions

View file

@ -164,7 +164,7 @@
<form name="add-readthrough" action="/create-readthrough" method="post">
{% include 'snippets/readthrough_form.html' with readthrough=None %}
<div class="field is-grouped">
<button class="button is-primary" type="submit">Save</button>
<button class="button is-primary" type="submit">Create</button>
<label class="button" for="hide-create-readthrough" role="button" tabindex="0">Cancel</label>
</div>
</form>

View file

@ -1,5 +1,6 @@
{% csrf_token %}
<input type="hidden" name="id" value="{{ readthrough.id }}">
<input type="hidden" name="book" value="{{ book.id }}">
<div class="field">
<label class="label">
Started reading