forked from mirrors/bookwyrm
23 lines
951 B
HTML
23 lines
951 B
HTML
{% load bookwyrm_tags %}
|
|
<div class="select {{ class }}">
|
|
{% with 0|uuid as uuid %}
|
|
{% if not no_label %}
|
|
<label class="is-sr-only" for="privacy-{{ uuid }}">Post privacy</label>
|
|
{% endif %}
|
|
<select name="privacy" id="privacy-{{ uuid }}">
|
|
<option value="public" {% if user.default_post_privacy == 'public' or current == 'public' %}selected{% endif %}>
|
|
Public
|
|
</option>
|
|
<option value="unlisted" {% if user.default_post_privacy == 'unlisted' or current == 'unlisted' %}selected{% endif %}>
|
|
Unlisted
|
|
</option>
|
|
<option value="followers" {% if user.default_post_privacy == 'followers' or current == 'followers' %}selected{% endif %}>
|
|
Followers
|
|
</option>
|
|
<option value="direct" {% if user.default_post_privacy == 'direct' or current == 'direct' %}selected{% endif %}>
|
|
Private
|
|
</option>
|
|
</select>
|
|
{% endwith %}
|
|
</div>
|
|
|