Oops I wasn't supposed to close input tags

This commit is contained in:
Mouse Reeve
2020-04-21 10:47:55 -07:00
parent 52651fdaa0
commit 894f76f843
10 changed files with 22 additions and 22 deletions

View File

@ -21,7 +21,7 @@
{% endif %}
<form class="tab-option-{{ book.id }} review-form" name="review" action="/review/" method="post" id="tab-review-{{ book.id }}">
{% csrf_token %}
<input type="hidden" name="book" value="{{ book.fedireads_key }}"></input>
<input type="hidden" name="book" value="{{ book.fedireads_key }}">
{% include 'snippets/rate_form.html' with book=book %}
{{ review_form.as_p }}
<button type="submit">post review</button>
@ -29,14 +29,14 @@
<form class="hidden tab-option-{{ book.id }} review-form" name="comment" action="/comment/" method="post" id="tab-comment-{{ book.id }}">
{% csrf_token %}
<input type="hidden" name="book" value="{{ book.fedireads_key }}"></input>
<input type="hidden" name="book" value="{{ book.fedireads_key }}">
{{ comment_form.as_p }}
<button type="submit">post comment</button>
</form>
<form class="hidden tab-option-{{ book.id }} review-form quote-form" name="quotation" action="/quotate/" method="post" id="tab-quotation-{{ book.id }}">
{% csrf_token %}
<input type="hidden" name="book" value="{{ book.fedireads_key }}"></input>
<input type="hidden" name="book" value="{{ book.fedireads_key }}">
{{ quotation_form.as_p }}
<button typr="submit">post quote</button>
</form>