moviewyrm/bookwyrm/templates/snippets/create_status.html

36 lines
1.4 KiB
HTML
Raw Normal View History

2020-03-15 21:15:36 +00:00
{% load humanize %}
2021-02-28 02:48:10 +00:00
{% load i18n %}
2020-12-13 02:25:04 +00:00
{% load bookwyrm_tags %}
2020-03-15 21:15:36 +00:00
<div class="tabs is-boxed">
<ul role="tablist">
2021-01-18 04:19:09 +00: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 }}">
2021-02-28 02:48:10 +00:00
<a>{% trans "Review" %}</a>
</li>
2021-01-18 04:19:09 +00:00
<li class="tab-change" data-category="tab-option-{{ book.id }}" role="tab" tabindex="0" data-tab="comment-{{ book.id}}">
2021-02-28 02:48:10 +00:00
<a>{% trans "Comment" %}</a>
</li>
2021-01-18 04:19:09 +00:00
<li class="tab-change" data-category="tab-option-{{ book.id }}" role="tab" tabindex="0" data-tab="quote-{{ book.id }}">
2021-02-28 02:48:10 +00:00
<a>{% trans "Quote" %}</a>
</li>
</ul>
</div>
2020-09-30 00:43:30 +00:00
2021-01-18 04:19:09 +00: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 %}
</div>
2020-03-21 23:50:49 +00:00
2021-01-18 04:19:09 +00: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 %}
</div>
2020-04-08 16:40:47 +00:00
2021-01-18 04:19:09 +00: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 21:15:36 +00:00
</div>