forked from mirrors/bookwyrm
cw back on the top
it just felt weird on the bottom??
This commit is contained in:
parent
aa564b26c8
commit
f8d5eec60d
2 changed files with 2 additions and 3 deletions
|
@ -10,6 +10,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="control">
|
<div class="control">
|
||||||
<label class="label" for="id_{% if type == 'quote' %}quote{% else %}content{% endif %}_{{ book.id }}_{{ type }}">{{ type|title }}:</label>
|
<label class="label" for="id_{% if type == 'quote' %}quote{% else %}content{% endif %}_{{ book.id }}_{{ type }}">{{ type|title }}:</label>
|
||||||
|
{% include 'snippets/content_warning_field.html' %}
|
||||||
|
|
||||||
{% if type == 'review' %}
|
{% if type == 'review' %}
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
@ -32,8 +33,6 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
<textarea name="content" class="textarea" id="id_content_{{ book.id }}_{{ type }}" placeholder="{{ placeholder }}" required></textarea>
|
<textarea name="content" class="textarea" id="id_content_{{ book.id }}_{{ type }}" placeholder="{{ placeholder }}" required></textarea>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% include 'snippets/content_warning_field.html' %}
|
|
||||||
</div>
|
</div>
|
||||||
{% if type == 'quote' %}
|
{% if type == 'quote' %}
|
||||||
<div class="control">
|
<div class="control">
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
<input type="hidden" name="reply_parent" value="{{ status.id }}">
|
<input type="hidden" name="reply_parent" value="{{ status.id }}">
|
||||||
<input type="hidden" name="user" value="{{ request.user.id }}">
|
<input type="hidden" name="user" value="{{ request.user.id }}">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
|
{% include 'snippets/content_warning_field.html' with parent_status=status %}
|
||||||
<label for="id_content_{{ status.id }}-{{ uuid }}" class="is-sr-only">Reply</label>
|
<label for="id_content_{{ status.id }}-{{ uuid }}" class="is-sr-only">Reply</label>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<textarea class="textarea" name="content" placeholder="Leave a comment..." id="id_content_{{ status.id }}-{{ uuid }}" required="true"></textarea>
|
<textarea class="textarea" name="content" placeholder="Leave a comment..." id="id_content_{{ status.id }}-{{ uuid }}" required="true"></textarea>
|
||||||
{% include 'snippets/content_warning_field.html' with parent_status=status %}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="column is-narrow">
|
<div class="column is-narrow">
|
||||||
|
|
Loading…
Reference in a new issue