terms and conditions field
[prawokultury.git] / prawokultury / contact_forms.py
index bd4b556..b47bd4b 100644 (file)
@@ -80,7 +80,7 @@ tracks = (
 
 class RegisterSpeaker(RegistrationForm):
     form_tag = 'register-speaker'
-    save_as_tag = '2015-speaker'
+    save_as_tag = '2016-speaker'
     form_title = _('Open call for presentations')
 
     presentation_thematic_track = forms.ChoiceField(
@@ -112,6 +112,13 @@ class RegisterSpeaker(RegistrationForm):
         required=False
     )
 
+    agree_data = None
+
+    agree_terms = forms.BooleanField(
+        label=mark_safe_lazy(_(u'I accept <a href="/en/info/terms-and-conditions/">'
+                                   u'CopyCamp Terms and Conditions</a>.'))
+    )
+
     # workshop = forms.BooleanField(label=_('Workshop'), required=False)
     # workshop_title = forms.CharField(label=_('Title of workshop'),
     #        max_length=256, required=False)
@@ -141,8 +148,9 @@ class RegisterSpeaker(RegistrationForm):
             # 'workshop_summary',
 
             'agree_mailing',
-            'agree_data',
-            'agree_license'
+            # 'agree_data',
+            'agree_license',
+            'agree_terms',
         ]
 
     def clean(self):