moviewyrm/bookwyrm/templates/snippets/privacy_select.html

16 lines
496 B
HTML
Raw Normal View History

2020-11-09 19:43:12 +00:00
{% load fr_display %}
2020-11-06 17:07:15 +00:00
<div class="select">
2020-11-09 19:43:12 +00:00
{% with 0|uuid as uuid %}
2020-11-09 20:40:22 +00:00
{% if not no_label %}
2020-11-09 19:43:12 +00:00
<label class="is-sr-only" for="privacy-{{ uuid }}">Post privacy</label>
2020-11-09 20:40:22 +00:00
{% endif %}
2020-11-09 19:43:12 +00:00
<select name="privacy" id="privacy-{{ uuid }}">
2020-11-06 17:07:15 +00:00
<option value="public" selected>Public</option>
<option value="unlisted">Unlisted</option>
<option value="followers">Followers only</option>
<option value="direct">Private</option>
</select>
2020-11-09 19:43:12 +00:00
{% endwith %}
2020-11-06 17:07:15 +00:00
</div>