2020-03-15 21:15:36 +00:00
|
|
|
{% load humanize %}
|
|
|
|
{% load fr_display %}
|
|
|
|
|
2020-11-06 19:54:31 +00:00
|
|
|
<div class="tabs is-boxed">
|
2020-11-09 02:23:12 +00:00
|
|
|
<ul role="tablist">
|
2020-11-06 19:54:31 +00:00
|
|
|
<li class="is-active" data-id="tab-review-{{ book.id }}" data-category="tab-option-{{ book.id }}">
|
2020-11-09 02:23:12 +00:00
|
|
|
<label for="review-{{ book.id }}">
|
|
|
|
<div onclick="tabChange(event)" role="tab" aria-selected="true" tabindex="0">
|
|
|
|
<a>Review</a>
|
|
|
|
</div>
|
|
|
|
</label>
|
2020-11-06 19:54:31 +00:00
|
|
|
</li>
|
|
|
|
<li data-id="tab-comment-{{ book.id }}" data-category="tab-option-{{ book.id }}">
|
2020-11-09 02:23:12 +00:00
|
|
|
<label for="comment-{{ book.id}}">
|
|
|
|
<div onclick="tabChange(event)" role="tab" tabindex="0">
|
|
|
|
<a>Comment</a>
|
|
|
|
</div>
|
|
|
|
</label>
|
2020-11-06 19:54:31 +00:00
|
|
|
</li>
|
|
|
|
<li data-id="tab-quotation-{{ book.id }}" data-category="tab-option-{{ book.id }}">
|
2020-11-09 02:23:12 +00:00
|
|
|
<label for="quote-{{ book.id }}">
|
|
|
|
<div onclick="tabChange(event)" role="tab" tabindex="0">
|
|
|
|
<a>Quote</a>
|
|
|
|
</div>
|
|
|
|
</label>
|
2020-11-06 19:54:31 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2020-09-30 00:43:30 +00:00
|
|
|
|
2020-11-06 19:54:31 +00:00
|
|
|
<div>
|
|
|
|
<input class="toggle-control" type="radio" name="status-tabs-{{ book.id }}" id="review-{{ book.id }}" checked>
|
2020-11-06 21:33:26 +00:00
|
|
|
{% include 'snippets/create_status_form.html' with type='review' %}
|
2020-11-06 19:54:31 +00:00
|
|
|
</div>
|
2020-03-21 23:50:49 +00:00
|
|
|
|
2020-11-06 19:54:31 +00:00
|
|
|
<div>
|
|
|
|
<input class="toggle-control" type="radio" name="status-tabs-{{ book.id }}" id="comment-{{ book.id }}">
|
2020-11-09 02:23:12 +00:00
|
|
|
{% include 'snippets/create_status_form.html' with type="comment" placeholder="Some thoughts on '"|add:book.title|add:"'" %}
|
2020-11-06 19:54:31 +00:00
|
|
|
</div>
|
2020-04-08 16:40:47 +00:00
|
|
|
|
2020-11-06 19:54:31 +00:00
|
|
|
<div>
|
|
|
|
<input class="toggle-control" type="radio" name="status-tabs-{{ book.id }}" id="quote-{{ book.id }}">
|
2020-11-06 21:33:26 +00:00
|
|
|
{% include 'snippets/create_status_form.html' with type="quote" placeholder="An excerpt from '"|add:book.title|add:"'" %}
|
2020-03-15 21:15:36 +00:00
|
|
|
</div>
|