Combined 2 authors fields in forms to a single author field. This will be taken care by jQuery on the UI side.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Thu, 14 Jan 2010 19:19:12 +0530
changeset 86 cbe77a26e7a3
parent 85 07b48746fe29
child 87 1ec579a679e4
Combined 2 authors fields in forms to a single author field. This will be taken care by jQuery on the UI side.
project/kiwipycon/proceedings/forms.py
--- a/project/kiwipycon/proceedings/forms.py	Thu Jan 14 19:18:08 2010 +0530
+++ b/project/kiwipycon/proceedings/forms.py	Thu Jan 14 19:19:12 2010 +0530
@@ -25,10 +25,6 @@
         help_text=u'The file should contain two sections, one with a heading '
         "'Abstract' and other with a heading 'Body'.")
 
-    self_author = forms.BooleanField(
-        required=False, label=u'Author(yourself)',
-        help_text=u'Check the field if you are one of the authors')
-
-    additional_authors = forms.CharField(
-        required=False, label=u'Additional Author(s)',
-        help_text=u'User ID of each additional author separated by comma.')
+    authors = forms.CharField(
+        required=False, label=u'Author',
+        help_text=u'User ID of the author.')