forms forms forms
This commit is contained in:
parent
3d09d355eb
commit
789b9a1dc0
13 changed files with 71 additions and 100 deletions
|
@ -13,15 +13,7 @@
|
|||
|
||||
<form class="review-form" name="review" action="/review/" method="post">
|
||||
<input type="hidden" name="book" value="{{ book.openlibrary_key }}"></input>
|
||||
<label for="name">Title:
|
||||
<input type="text" name="name"></input>
|
||||
</label>
|
||||
<label for="content">
|
||||
<textarea name="content"></textarea>
|
||||
</label>
|
||||
<label for="rating">Your rating (1-5)
|
||||
<input type="number" name="rating"></input>
|
||||
</label>
|
||||
{{ review_form.as_p }}
|
||||
<button type="submit">Post review</button>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue