class LoginFormSimple(FlaskForm):
name = StringField("NAME")
password = PasswordField("PASSWORD")
For the FlaskForm above, write the Jinja template that includes the CSRF token.
- It should refer the fields
nameandpasswordwith the label; - It should refer the
csrftoken either withhidden_tagorcsrf_token