Implement a start date filter for autoreply, fixes #362

This commit is contained in:
kaiyou
2018-09-27 22:45:16 +02:00
parent 91349d62ee
commit fcad52b145
6 changed files with 41 additions and 2 deletions

View File

@@ -117,6 +117,7 @@ class UserReplyForm(flask_wtf.FlaskForm):
reply_subject = fields.StringField(_('Reply subject'))
reply_body = fields.StringField(_('Reply body'),
widget=widgets.TextArea())
reply_startdate = fields.html5.DateField(_('Start of vacation'))
reply_enddate = fields.html5.DateField(_('End of vacation'))
submit = fields.SubmitField(_('Update'))