Label shelf privacy in edit shelf form

This commit is contained in:
Mouse Reeve
2021-09-28 16:09:24 -07:00
parent d9945ac5e3
commit cc1ae270cc
2 changed files with 14 additions and 16 deletions

View File

@ -1,7 +1,7 @@
{% load i18n %}
{% load utilities %}
<div class="select {{ class }}">
{% with 0|uuid as uuid %}
{% firstof uuid 0|uuid as uuid %}
{% if not no_label %}
<label class="is-sr-only" for="privacy_{{ uuid }}">{% trans "Post privacy" %}</label>
{% endif %}
@ -20,6 +20,5 @@
{% trans "Private" %}
</option>
</select>
{% endwith %}
</div>