templates and flask wtf