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">
|
2021-01-17 23:19:09 -05:00
|
|
|
<li class="tab-change is-active" data-category="tab-option-{{ book.id }}" role="tab" aria-selected="true" tabindex="0" data-tab="review-{{ book.id }}">
|
|
|
|
<a>Review</a>
|
2020-11-06 14:54:31 -05:00
|
|
|
</li>
|
2021-01-17 23:19:09 -05:00
|
|
|
<li class="tab-change" data-category="tab-option-{{ book.id }}" role="tab" tabindex="0" data-tab="comment-{{ book.id}}">
|
|
|
|
<a>Comment</a>
|
2020-11-06 14:54:31 -05:00
|
|
|
</li>
|
2021-01-17 23:19:09 -05:00
|
|
|
<li class="tab-change" data-category="tab-option-{{ book.id }}" role="tab" tabindex="0" data-tab="quote-{{ book.id }}">
|
|
|
|
<a>Quote</a>
|
2020-11-06 14:54:31 -05:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2020-09-29 20:43:30 -04:00
|
|
|
|
2021-01-17 23:19:09 -05:00
|
|
|
<div class="tab-option-{{ book.id }}" id="review-{{ book.id }}">
|
|
|
|
{% with 0|uuid as uuid %}
|
|
|
|
{% include 'snippets/create_status_form.html' with type='review' %}
|
|
|
|
{% endwith %}
|
2020-11-06 14:54:31 -05:00
|
|
|
</div>
|
2020-03-21 19:50:49 -04:00
|
|
|
|
2021-01-17 23:19:09 -05:00
|
|
|
<div class="hidden tab-option-{{ book.id }}" id="comment-{{ 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 %}
|
2020-11-06 14:54:31 -05:00
|
|
|
</div>
|
2020-04-08 12:40:47 -04:00
|
|
|
|
2021-01-17 23:19:09 -05:00
|
|
|
<div class="hidden tab-option-{{ book.id }}" id="quote-{{ 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 %}
|
2020-03-15 17:15:36 -04:00
|
|
|
</div>
|