use flask's version of Form