mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-29 13:01:08 +00:00
Merge pull request #835 from mouse-reeve/soft-remove-tags
Soft removal of tags feature
This commit is contained in:
commit
18c1e45508
1 changed files with 0 additions and 21 deletions
|
@ -165,32 +165,11 @@
|
||||||
{% include 'snippets/readthrough.html' with readthrough=readthrough %}
|
{% include 'snippets/readthrough.html' with readthrough=readthrough %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if request.user.is_authenticated %}
|
|
||||||
<section class="box">
|
<section class="box">
|
||||||
{% include 'snippets/create_status.html' with book=book hide_cover=True %}
|
{% include 'snippets/create_status.html' with book=book hide_cover=True %}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="block">
|
|
||||||
<form name="tag" action="/tag/" method="post">
|
|
||||||
<label for="tags" class="is-3">{% trans "Tags" %}</label>
|
|
||||||
{% csrf_token %}
|
|
||||||
<input type="hidden" name="book" value="{{ book.id }}">
|
|
||||||
<input id="tags" class="input" type="text" name="name">
|
|
||||||
<button class="button" type="submit">{% trans "Add tag" %}</button>
|
|
||||||
</form>
|
|
||||||
</section>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="block">
|
|
||||||
<div class="field is-grouped is-grouped-multiline">
|
|
||||||
{% for tag in tags %}
|
|
||||||
{% include 'snippets/tag.html' with book=book tag=tag user_tags=user_tags %}
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="column is-one-fifth">
|
<div class="column is-one-fifth">
|
||||||
{% if book.subjects %}
|
{% if book.subjects %}
|
||||||
|
|
Loading…
Reference in a new issue