forked from mirrors/bookwyrm
23 lines
787 B
HTML
23 lines
787 B
HTML
{% load fr_display %}
|
|
<div class="select">
|
|
{% 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 not current or current == 'public' %}selected{% endif %}>
|
|
Public
|
|
</option>
|
|
<option value="unlisted" {% if current == 'unlisted' %}selected{% endif %}>
|
|
Unlisted
|
|
</option>
|
|
<option value="followers" {% if current == 'followers' %}selected{% endif %}>
|
|
Followers only
|
|
</option>
|
|
<option value="direct" {% if current == 'direct' %}selected{% endif %}>
|
|
Private
|
|
</option>
|
|
</select>
|
|
{% endwith %}
|
|
</div>
|
|
|