staff add/edit participant: add biogragry field
This commit is contained in:
parent
75d75135ab
commit
9d549ffce1
|
@ -766,7 +766,7 @@ class ParticipantCreate(StaffRequiredMixin, OnSiteFormMixin, CreateView):
|
|||
return modelform_factory(
|
||||
self.model,
|
||||
form=ParticipantForm,
|
||||
fields=['name', 'vip', 'email', 'phone_number', 'notes'] + ParticipantForm.SOCIAL_FIELDS,
|
||||
fields=['name', 'vip', 'email', 'phone_number', 'biography', 'notes'] + ParticipantForm.SOCIAL_FIELDS,
|
||||
)
|
||||
|
||||
|
||||
|
@ -781,7 +781,7 @@ class ParticipantUpdate(StaffRequiredMixin, OnSiteFormMixin, UpdateView):
|
|||
return modelform_factory(
|
||||
self.model,
|
||||
form=ParticipantForm,
|
||||
fields=['name', 'vip', 'email', 'phone_number', 'notes'] + ParticipantForm.SOCIAL_FIELDS,
|
||||
fields=['name', 'vip', 'email', 'phone_number', 'biography', 'notes'] + ParticipantForm.SOCIAL_FIELDS,
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue