2020-03-15 17:15:36 -04:00
|
|
|
{% load humanize %}
|
2020-12-12 21:25:04 -05:00
|
|
|
{% load bookwyrm_tags %}
|
2020-03-15 17:15:36 -04:00
|
|
|
|
2020-11-06 14:54:31 -05:00
|
|
|
<div class="tabs is-boxed">
|
2020-11-08 21:23:12 -05:00
|
|
|
<ul role="tablist">
|
2020-11-06 14:54:31 -05:00
|
|
|
<li class="is-active" data-id="tab-review-{{ book.id }}" data-category="tab-option-{{ book.id }}">
|
2020-11-08 21:23:12 -05:00
|
|
|
<label for="review-{{ book.id }}">
|
2021-01-14 18:29:37 -05:00
|
|
|
<div class="tab-change" role="tab" aria-selected="true" tabindex="0">
|
2020-11-08 21:23:12 -05:00
|
|
|
<a>Review</a>
|
|
|
|
</div>
|
|
|
|
</label>
|
2020-11-06 14:54:31 -05:00
|
|
|
</li>
|
|
|
|
<li data-id="tab-comment-{{ book.id }}" data-category="tab-option-{{ book.id }}">
|
2020-11-08 21:23:12 -05:00
|
|
|
<label for="comment-{{ book.id}}">
|
2021-01-14 18:29:37 -05:00
|
|
|
<div class="tab-change" role="tab" tabindex="0">
|
2020-11-08 21:23:12 -05:00
|
|
|
<a>Comment</a>
|
|
|
|
</div>
|
|
|
|
</label>
|
2020-11-06 14:54:31 -05:00
|
|
|
</li>
|
|
|
|
<li data-id="tab-quotation-{{ book.id }}" data-category="tab-option-{{ book.id }}">
|
2020-11-08 21:23:12 -05:00
|
|
|
<label for="quote-{{ book.id }}">
|
2021-01-14 18:29:37 -05:00
|
|
|
<div class="tab-change" role="tab" tabindex="0">
|
2020-11-08 21:23:12 -05:00
|
|
|
<a>Quote</a>
|
|
|
|
</div>
|
|
|
|
</label>
|
2020-11-06 14:54:31 -05:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2020-09-29 20:43:30 -04:00
|
|
|
|
2020-11-06 14:54:31 -05:00
|
|
|
<div>
|
|
|
|
<input class="toggle-control" type="radio" name="status-tabs-{{ book.id }}" id="review-{{ book.id }}" checked>
|
2021-01-16 22:57:20 -05:00
|
|
|
<div class="toggle-content hidden tab-option-{{ book.id }}">
|
|
|
|
{% with 0|uuid as uuid %}
|
|
|
|
{% include 'snippets/create_status_form.html' with type='review' %}
|
|
|
|
{% endwith %}
|
|
|
|
</div>
|
2020-11-06 14:54:31 -05:00
|
|
|
</div>
|
2020-03-21 19:50:49 -04:00
|
|
|
|
2020-11-06 14:54:31 -05:00
|
|
|
<div>
|
|
|
|
<input class="toggle-control" type="radio" name="status-tabs-{{ book.id }}" id="comment-{{ book.id }}">
|
2021-01-16 22:57:20 -05:00
|
|
|
<div class="toggle-content hidden tab-option-{{ book.id }}">
|
|
|
|
{% with 0|uuid as uuid %}
|
|
|
|
{% include 'snippets/create_status_form.html' with type="comment" placeholder="Some thoughts on '"|add:book.title|add:"'" %}
|
|
|
|
{% endwith %}
|
|
|
|
</div>
|
2020-11-06 14:54:31 -05:00
|
|
|
</div>
|
2020-04-08 12:40:47 -04:00
|
|
|
|
2020-11-06 14:54:31 -05:00
|
|
|
<div>
|
|
|
|
<input class="toggle-control" type="radio" name="status-tabs-{{ book.id }}" id="quote-{{ book.id }}">
|
2021-01-16 22:57:20 -05:00
|
|
|
<div class="toggle-content hidden tab-option-{{ book.id }}">
|
|
|
|
{% with 0|uuid as uuid %}
|
|
|
|
{% include 'snippets/create_status_form.html' with type="quotation" placeholder="An excerpt from '"|add:book.title|add:"'" %}
|
|
|
|
{% endwith %}
|
|
|
|
</div>
|
2020-03-15 17:15:36 -04:00
|
|
|
</div>
|