Fix syntax error in previous commit
authorMagnus Hagander <magnus@hagander.net>
Tue, 25 Sep 2018 19:40:11 +0000 (21:40 +0200)
committerMagnus Hagander <magnus@hagander.net>
Tue, 25 Sep 2018 19:40:11 +0000 (21:40 +0200)
postgresqleu/confreg/forms.py

index e53c3125debfe322932cbe9958b1115d1086b321..47809cdc6853b5a2e07e36ecb83e8ce7acc2afd9 100644 (file)
@@ -624,7 +624,7 @@ class WaitlistOfferForm(forms.Form):
                        self.reg_list = self._get_id_list_from_data()
                        if len(self.reg_list) == 1:
                                self.fields['confirm'].help_text = "Confirm that you want to send an offer to an attendee on the waitlist"
-                       else
+                       else:
                                self.fields['confirm'].help_text = "Confirm that you want to send an offer to {0} attendees on the waitlist".format(len(self.reg_list))
                        if self.data.get('submit') == 'Make offer for hours':
                                del self.fields['until']