Some mil form fields are not required
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Fri, 18 Oct 2013 12:05:25 +0000 (14:05 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 22 Oct 2013 07:49:54 +0000 (09:49 +0200)
edumed/contact_forms.py

index 24ab7ef..e809e2b 100644 (file)
@@ -142,23 +142,27 @@ class MILForm(ContactForm):
     question_stages = forms.CharField(
         label = _('What do you think about the proposed educational stages classification?'),
         widget = forms.Textarea,
     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,
     )
 
     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,
     )
 
     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,
     )
 
     other = forms.CharField(
         label = _('Other suggestions and comments'),
         widget = forms.Textarea,
-        max_length = 255
+        max_length = 255,
+        required = False
     )
     )