Fixing contact form to work with katalog subdomain
[edumed.git] / edumed / contact_forms.py
index 24ab7ef..ec34ebf 100644 (file)
@@ -133,6 +133,7 @@ class MILForm(ContactForm):
     from_title = 'Mil'
     submit_label = _('Submit')
     base_template = 'base_mil.html'
+    site_name = site_domain = 'katalog.nowoczesnapolska.org.pl'
 
     name = forms.CharField(label = _('Name and Surname'), max_length = 255)
     contact = forms.EmailField(label = _('E-mail'), max_length = 255)
@@ -142,23 +143,27 @@ class MILForm(ContactForm):
     question_stages = forms.CharField(
         label = _('What do you think about the proposed educational stages classification?'),
         widget = forms.Textarea,
-        max_length = 255
+        max_length = 255,
+        required = False
     )
 
     question_fields = forms.CharField(
         label = _('What do you think about the proposed thematic fields?'),
         widget = forms.Textarea,
-        max_length = 255
+        max_length = 255,
+        required = False
     )
 
     question_left_out = forms.CharField(
         label = _('What important areas of media and information literacy have been left out?'),
         widget = forms.Textarea,
-        max_length = 255
+        max_length = 255,
+        required = False
     )
 
     other = forms.CharField(
         label = _('Other suggestions and comments'),
         widget = forms.Textarea,
-        max_length = 255
+        max_length = 255,
+        required = False
     )