Validation form (only front)
This commit is contained in:
parent
0bf958dbd6
commit
36b26e0baa
10 changed files with 225 additions and 19 deletions
|
|
@ -9,7 +9,7 @@ from note.models import NoteSpecial
|
|||
from note_kfet.inputs import Autocomplete, AmountInput, DatePickerInput
|
||||
from permission.models import PermissionMask
|
||||
|
||||
from .models import Profile, Club, Membership
|
||||
from .models import Profile, Club, Membership, Role
|
||||
|
||||
|
||||
class CustomAuthenticationForm(AuthenticationForm):
|
||||
|
|
@ -50,6 +50,8 @@ class ClubForm(forms.ModelForm):
|
|||
|
||||
|
||||
class MembershipForm(forms.ModelForm):
|
||||
roles = forms.ModelMultipleChoiceField(queryset=Role.objects.filter(weirole=None).all())
|
||||
|
||||
soge = forms.BooleanField(
|
||||
label=_("Inscription paid by Société Générale"),
|
||||
required=False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue