forked from mirrors/bookwyrm
Move content warning toggle out of post options block
This commit is contained in:
parent
ad1969162f
commit
e2476d1ad3
1 changed files with 3 additions and 7 deletions
|
@ -1,8 +1,6 @@
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
<div class="columns mt-1">
|
<div class="field has-addons is-justify-content-end">
|
||||||
<div class="field has-addons column">
|
<div class="control">
|
||||||
{% include "snippets/create_status/content_warning_toggle.html" %}
|
|
||||||
<div class="control">
|
|
||||||
{% if type == 'direct' %}
|
{% if type == 'direct' %}
|
||||||
<input type="hidden" name="privacy" value="direct">
|
<input type="hidden" name="privacy" value="direct">
|
||||||
<button type="button" class="button" aria-label="Privacy" disabled>{% trans "Private" %}</button>
|
<button type="button" class="button" aria-label="Privacy" disabled>{% trans "Private" %}</button>
|
||||||
|
@ -13,13 +11,11 @@
|
||||||
{% include 'snippets/privacy_select.html' with current=reply_parent.privacy %}
|
{% include 'snippets/privacy_select.html' with current=reply_parent.privacy %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="column is-narrow control">
|
<div class="control">
|
||||||
<button class="button is-link" type="submit">
|
<button class="button is-link" type="submit">
|
||||||
<span class="icon icon-spinner" aria-hidden="true"></span>
|
<span class="icon icon-spinner" aria-hidden="true"></span>
|
||||||
<span>{% trans "Post" %}</span>
|
<span>{% trans "Post" %}</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue