Add Health and Safety Guidelines to speaker form

This commit is contained in:
Ben Sturmfels 2023-04-21 20:30:29 +10:00
parent 43db436130
commit 759ddb78df
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -30,6 +30,7 @@ class SpeakerForm(forms.ModelForm):
def __init__(self, *a, **k):
super(SpeakerForm, self).__init__(*a, **k)
self.fields['agreement'].required = True
self.fields['agreement'].help_text = 'I agree to the <a href="/attend/terms-and-conditions/">Terms and Conditions</a>, and I have read, understood, and agree to act according to the standards set forth in our <a href="/attend/code-of-conduct/">Code of Conduct</a>.<br>I agree to the <a href="/attend/health-and-safety/">Health and Safety Guidelines</a>, in particular the <strong>requirement to wear a mask</strong> at this event.'
self.fields['biography'].required = True
# self.fields['local_timezone'].required = True