update fnpdjango
[prawokultury.git] / prawokultury / contact_forms.py
index 9deaf3d..0a2cec0 100644 (file)
@@ -189,6 +189,22 @@ class RegisterSpeaker(RegistrationForm):
     form_tag = 'register-speaker'
     save_as_tag = '2017-speaker'
     form_title = _('Open call for presentations')
+    notify_on_register = False
+
+    # inherited fields included so they are not translated
+    first_name = forms.CharField(label=_('First name'), max_length=128)
+    last_name = forms.CharField(label=_('Last name'), max_length=128)
+    organization = forms.CharField(label=_('Organization'),
+            max_length=256, required=False)
+    agree_mailing = forms.BooleanField(
+        label=_('I am interested in receiving information about the Modern Poland Foundation\'s activities by e-mail'),
+        required=False
+    )
+    agree_license = forms.BooleanField(
+        label=_('Permission for publication'),
+        help_text=mark_safe_lazy(_(u'I agree to having materials, recorded during the conference, released under the terms of <a href="http://creativecommons.org/licenses/by-sa/3.0/deed">CC\u00a0BY-SA</a> license and to publishing my image.')),
+        required=False
+    )
 
     presentation_thematic_track = forms.ChoiceField(
         label=_('Please select one thematic track'),
@@ -253,6 +269,14 @@ class RegisterSpeaker(RegistrationForm):
         ]
 
 
+class RemindForm(ContactForm):
+    form_tag = 'remind-me'
+    save_as_tag = 'remind-me-2017'
+    form_title = u'CopyCamp 2017'
+    notify_on_register = False
+    notify_user = False
+
+
 class NextForm(ContactForm):
     form_tag = '/next'
     form_title = _('Next CopyCamp')