clubs: Handle bulk add of users in clubs and refresh of the form handling

This commit is contained in:
2019-04-24 03:10:42 +02:00
parent e8ee9122f9
commit d5ad2c5141
3 changed files with 121 additions and 85 deletions

View File

@ -11,7 +11,7 @@
<td>{% trans %}Since{% endtrans %}</td>
</thead>
<tbody>
{% for m in club.members.filter(end_date=None).order_by('-role').all() %}
{% for m in members %}
<tr>
<td>{{ user_profile_link(m.user) }}</td>
<td>{{ settings.SITH_CLUB_ROLES[m.role] }}</td>
@ -30,6 +30,3 @@
<p><input type="submit" value="{% trans %}Add{% endtrans %}" /></p>
</form>
{% endblock %}