fix incorrect wording on group selection

select a group, not a list!
This commit is contained in:
Hugh Rundle 2021-10-03 09:07:42 +11:00
parent 4ea99d1763
commit a179de33bc

View file

@ -42,7 +42,7 @@
<div class="field has-addons"> <div class="field has-addons">
<div class="select control"> <div class="select control">
<select name="group" id="id_group"> <select name="group" id="id_group">
<option value="" disabled {% if not list.group %} selected{% endif %}>{% trans "Select a list" %}</option> <option value="" disabled {% if not list.group %} selected{% endif %}>{% trans "Select a group" %}</option>
{% for membership in user.memberships.all %} {% for membership in user.memberships.all %}
<option value="{{ membership.group.id }}" {% if list.group.id == membership.group.id %} selected{% endif %}>{{ membership.group.name }}</option> <option value="{{ membership.group.id }}" {% if list.group.id == membership.group.id %} selected{% endif %}>{{ membership.group.name }}</option>
{% endfor %} {% endfor %}