Changeset - 3433df0a07ae
[Not reviewed]
version_5
0 1 0
Dennis Fink - 9 years ago 2015-10-14 00:59:05
dennis.fink@c3l.lu
PEP8 root/forms.py
1 file changed with 12 insertions and 4 deletions:
0 comments (0 inline, 0 general)
ennstatus/root/forms.py
Show inline comments
 
@@ -59,16 +59,22 @@ class MembershipForm(Form):
 

	
 
    membership = RadioField('Membership Plan*',
 
                            validators=[
 
                                InputRequired('Please select one of the options!')
 
                                InputRequired(
 
                                    'Please select one of the options!'
 
                                )
 
                            ],
 
                            choices=[
 
                                ('regular', 'Regular membership (120€/year)'),
 
                                ('student', 'Student membership (60€/year)'),
 
                                ('starving', 'Starving Hacker - Get in touch with us at info@enn.lu'),
 
                                ('starving',
 
                                 'Starving Hacker - Get in touch with us at info@enn.lu'
 
                                 ),
 
                            ]
 
                            )
 

	
 
    c3l = BooleanField('Include "Chaos Computer Club Lëtzebuerg" Membership<sup>1</sup>')
 
    c3l = BooleanField(
 
        'Include "Chaos Computer Club Lëtzebuerg" Membership<sup>1</sup>'
 
    )
 
    submit = SubmitField('Become a member')
 

	
 

	
 
@@ -94,7 +100,9 @@ class BridgeprogramForm(Form):
 

	
 
    duration = RadioField('Duration',
 
                          validators=[
 
                              InputRequired('Please select one of the options!')
 
                              InputRequired(
 
                                  'Please select one of the options!'
 
                              )
 
                          ],
 
                          choices=[
 
                              ('1', '1 year'),
0 comments (0 inline, 0 general)