Example #1
0
class UserMoveOutForm(Form):
    now = BooleanField(u"Sofort", default=False)
    when = DateField(u"Auszug am", [OptionalIf("now")])
    comment = TextAreaField(u"Kommentar")
    end_membership = BooleanField(u"Mitgliedschaft/Extern beenden",
                                  [Optional()])
Example #2
0
class UserLogEntry(Form):
    message = TextAreaField(u"", [DataRequired()])
Example #3
0
class UserSuspendForm(Form):
    ends_at = FormField(OptionallyUnlimitedEndDateForm)
    reason = TextAreaField(u"Grund", [DataRequired()])
    violation = BooleanField("Verstoß")
Example #4
0
class FixMT940Form(Form):
    mt940 = TextAreaField(u'MT940')
    do_import = BooleanField(u"Import durchführen", default=False)
Example #5
0
class RoomLogEntry(Form):
    message = TextAreaField(u"", [Required()])
Example #6
0
class UserMoveOutForm(Form):
    date = DateField(
        u"Auszug am", [Required()], default=datetime.now, today_btn=True,
        today_highlight=True)
    comment = TextAreaField(u"Kommentar")
Example #7
0
class UserBlockForm(Form):
    unlimited = BooleanField(u"Unbegrenzte Sperrung", default=False)
    date = DateField(
        u"Gesperrt bis", default=datetime.now, today_btn=True,
        today_highlight=True)
    reason = TextAreaField(u"Grund")
Example #8
0
class UserMoveOutForm(Form):
    # when = DateField(u"Auszug am", [DataRequired()])
    comment = TextAreaField(u"Kommentar")
    end_membership = BooleanField(u"Mitgliedschaft/Extern beenden",
                                  [Optional()])