mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-04-21 14:22:30 +00:00
Compare commits
No commits in common. "8e2b24b2dac7d82ee5344fef7ef73353402f5fa0" and "614f76e699616dc37560262d3e0fc2a36c3e4dbc" have entirely different histories.
8e2b24b2da
...
614f76e699
@ -23,7 +23,7 @@ from .models import Profile, Club, Membership
|
||||
class CustomAuthenticationForm(AuthenticationForm):
|
||||
permission_mask = forms.ModelChoiceField(
|
||||
label=_("Permission mask"),
|
||||
queryset=PermissionMask.objects.order_by("-rank"),
|
||||
queryset=PermissionMask.objects.order_by("rank"),
|
||||
empty_label=None,
|
||||
)
|
||||
|
||||
|
@ -89,7 +89,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
|
||||
</ul>
|
||||
<div class="card-body">
|
||||
<select id="debit_type" class="form-control custom-select d-none">
|
||||
{% for special_type in special_types|slice:"::-1" %}
|
||||
{% for special_type in special_types %}
|
||||
<option value="{{ special_type.id }}">{{ special_type.special_type }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
|
Loading…
x
Reference in New Issue
Block a user