class SemesterSeries_Form(Form):
    Image = GaeFileField(u'Image', validators=[validators.data_required()])
    Title = fields.TextField(u'Title', validators=[validators.Required()])
    Description = fields.TextAreaField(
        u'Description',
        validators=[validators.Required(),
                    validators.length(max=500)])
    Weeks = fields.FieldList(fields.FormField(WeekInfo_Form))
class HousingReference_Form(Form):
    YearsKnown = fields.IntegerField(
        label="How many years have you known ...?",
        validators=[validators.data_required()],
    )
    Relation = fields.StringField(
        label="What is your relation to ...?",
        validators=[validators.data_required()],
    )
    HonestResponsible = fields.SelectField(
        label="Is ... honest and responsible?",
        choices=[("", ""), ("Yes", "Yes"), ("No", "No")],
        validators=[validators.data_required()],
    )
    Strengths = fields.TextAreaField(
        label="In your opinion, what are ... strengths?",
        validators=[validators.data_required()],
    )
    Weaknesses = fields.TextAreaField(
        label="In your opinion, what are ... weaknesses?",
        validators=[validators.data_required()],
    )
    SocialSkills = fields.TextAreaField(
        label="Do you believe ... will get along and be a positive influence on roommates and housemates?",
        validators=[validators.data_required()],
    )
    Interests = fields.TextAreaField(
        label="Do you believe ... will explore interests outside the campus house?",
        validators=[validators.data_required()],
    )
    Trustworthy = fields.TextAreaField(
        label="Is ... honest with where he/she stands with others?",
        validators=[validators.data_required()],
    )
    Morals = fields.TextAreaField(
        label="Do you believe ... to have solid moral and spiritual convictions?",
        validators=[validators.data_required()],
    )
    Growth = fields.TextAreaField(
        label="Do you believe ... to have a desire to grow and be used by God?",
        validators=[validators.data_required()],
    )
    Reservations = fields.TextAreaField(
        label="Do you have any reservations about recommending ... for residency?",
        validators=[validators.data_required()],
    )
    Comments =fields.TextAreaField(
        label="Additional Comments",
        validators=[validators.data_required()],
    )
Beispiel #3
0
class HomepageSlide_Form(Form):
    Enabled = fields.BooleanField(u'Enabled')
    onHomepage = fields.BooleanField(u'onHomepage')

    Image = GaeFileField(u'Carousel Image',
                         validators=[validators.data_required()])
    Link = fields.TextField(u'URL')
    Title = fields.TextField(u'Page Title')
    Html = fields.TextAreaField(u'Page Content')
Beispiel #4
0
class StaffPosition_Form(Form):
    Name = fields.TextField(u'Name', validators=[validators.Required()])
    Image = GaeFileField(u'Image', validators=[validators.data_required()])
    Email = fields.TextField(u'Email', validators=[validators.Required()])
    Description = fields.TextAreaField(u'Description',
                                       validators=[validators.Required()])
Beispiel #5
0
class GelGroup_Form(Form):
    Title = fields.TextField(u'Title', validators=[validators.required()])
    DayAndTime = DayAndTimeField(u'Day And Time', validators=[validators.required()], format=u'%A %I %p')
    Leaders = fields.TextField(u'Leaders', validators=[validators.required()])
    ContactEmail = fields.TextField(u'ContactEmail', validators=[validators.required()])
    Description = fields.TextAreaField(u'Description', validators=[validators.required(), validators.length(max=500)])