@@ -0,0 +1,1267 @@
+%22%22%22%0A    User Form%0A%22%22%22%0Afrom wtforms import Form, StringField, IntegerField, FieldList, validators%0A%0A%0Aclass UserForm(Form):%0A    nickname = StringField('nickname', %5Bvalidators.DataRequired(), validators.Length(max=50, message='too long nickname')%5D)%0A    nationality = StringField('nationality', %5Bvalidators.DataRequired(), validators.Length(max=50, message='too long naitonality')%5D)%0A    location = StringField('location', %5Bvalidators.DataRequired(), validators.Length(max=50, message='too long location')%5D)%0A    sex = IntegerField('sex', %5Bvalidators.DataRequired(), validators.NumberRange(min=1, max=3, message='invalid sex')%5D)%0A    age = IntegerField('age', %5Bvalidators.DataRequired(), validators.NumberRange(max=0, max=150, message='invalid age')%5D)%0A    introduction = StringField('introduction', %5Bvalidators.DataRequired(), validators.Length(max=500, message='too long introduction')%5D)%0A    teach_lan = FieldList(StringField('tech_lan', %5Bvalidators.DataRequired()%5D),%0A                          %5Bvalidators.Length(min=1, message='you must select at least one teaching language')%5D)%0A    learn_lan = FieldList(StringField('learn_lan', %5Bvalidators.DataRequired()%5D),%0A                          %5Bvalidators.Length(min=1, message='you must select at least one learning language')%5D)%0A%0A

add user form