Changeset - a1ae76f94c6f
[Not reviewed]
version_5
0 4 0
Dennis Fink - 10 years ago 2015-07-20 23:37:09
dennis.fink@c3l.lu
4 files changed with 6 insertions and 12 deletions:
0 comments (0 inline, 0 general)
ennstatus/root/forms.py
Show inline comments
 
@@ -34,12 +34,9 @@ class MembershipForm(Form):
 
                            Email()
 
                        ]
 
                        )
 
    firstname = StringField('First Name',
 
                            validators=[Length(max=255)],
 
                            )
 
    surname = StringField('Surname',
 
                          validators=[Length(max=255)],
 
                          )
 
    fullname = StringField('Full name',
 
                           validators=[Length(max=65536)],
 
                           )
 
    street = StringField('Nr., Street',
 
                         validators=[Length(max=4000)],
 
                         )
ennstatus/root/functions.py
Show inline comments
 
@@ -12,8 +12,7 @@ def send_membership_mail(form):
 
                               email=form.email.data,
 
                               membership=form.membership.data,
 
                               c3l=form.c3l.data,
 
                               firstname=form.firstname.data,
 
                               surname=form.surname.data,
 
                               fullname=form.fullname.data,
 
                               street=form.street.data,
 
                               zip=form.zip.data,
 
                               city=form.city.data,
ennstatus/templates/root/membership.html
Show inline comments
 
@@ -11,8 +11,7 @@
 
      {{ form.hidden_tag() }}
 
      {{ wtf.form_field(form.username, form_type='horizontal') }}
 
      {{ wtf.form_field(form.email, form_type='horizontal') }}
 
      {{ wtf.form_field(form.firstname, form_type='horizontal') }}
 
      {{ wtf.form_field(form.surname, form_type='horizontal') }}
 
      {{ wtf.form_field(form.fullname, form_type='horizontal') }}
 
      {{ wtf.form_field(form.street, form_type='horizontal') }}
 
      {{ wtf.form_field(form.city, form_type='horizontal') }}
 
      {{ wtf.form_field(form.zip, form_type='horizontal') }}
ennstatus/templates/root/membership_mail.txt
Show inline comments
 
@@ -9,8 +9,7 @@ Double Membership: {{ c3l }}
 

	
 
Additional information:
 

	
 
First Name: {{ firstname }}
 
Surname: {{ surname }}
 
Full name: {{ fullname }}
 
Nr., Street: {{ street }}
 
ZIP-Code: {{ zip }}
 
City: {{ city }}
0 comments (0 inline, 0 general)