forked from mirrors/bookwyrm
43 lines
1.7 KiB
HTML
43 lines
1.7 KiB
HTML
{% load humanize %}
|
|
{% load bookwyrm_tags %}
|
|
|
|
<div class="tabs is-boxed">
|
|
<ul role="tablist">
|
|
<li class="is-active" data-id="tab-review-{{ book.id }}" data-category="tab-option-{{ book.id }}">
|
|
<label for="review-{{ book.id }}">
|
|
<div class="tab-change" role="tab" aria-selected="true" tabindex="0">
|
|
<a>Review</a>
|
|
</div>
|
|
</label>
|
|
</li>
|
|
<li data-id="tab-comment-{{ book.id }}" data-category="tab-option-{{ book.id }}">
|
|
<label for="comment-{{ book.id}}">
|
|
<div class="tab-change" role="tab" tabindex="0">
|
|
<a>Comment</a>
|
|
</div>
|
|
</label>
|
|
</li>
|
|
<li data-id="tab-quotation-{{ book.id }}" data-category="tab-option-{{ book.id }}">
|
|
<label for="quote-{{ book.id }}">
|
|
<div class="tab-change" role="tab" tabindex="0">
|
|
<a>Quote</a>
|
|
</div>
|
|
</label>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div>
|
|
<input class="toggle-control" type="radio" name="status-tabs-{{ book.id }}" id="review-{{ book.id }}" checked>
|
|
{% include 'snippets/create_status_form.html' with type='review' %}
|
|
</div>
|
|
|
|
<div>
|
|
<input class="toggle-control" type="radio" name="status-tabs-{{ book.id }}" id="comment-{{ book.id }}">
|
|
{% include 'snippets/create_status_form.html' with type="comment" placeholder="Some thoughts on '"|add:book.title|add:"'" %}
|
|
</div>
|
|
|
|
<div>
|
|
<input class="toggle-control" type="radio" name="status-tabs-{{ book.id }}" id="quote-{{ book.id }}">
|
|
{% include 'snippets/create_status_form.html' with type="quotation" placeholder="An excerpt from '"|add:book.title|add:"'" %}
|
|
</div>
|