diff options
| author | stilbruch <stilbruch@protonmail.com> | 2022-04-06 13:22:43 -0500 |
|---|---|---|
| committer | stilbruch <stilbruch@protonmail.com> | 2022-04-06 13:22:43 -0500 |
| commit | d0c2bb02d91382d99d72ce5e80b321a53a80e576 (patch) | |
| tree | 76507e6074051359aa307b9f08eddf2fab1e869f /app/forms.py | |
| parent | 6c477a7c8a7e5a26c85635e0b855dcc3e2a8ae4c (diff) | |
| download | Strengthy-d0c2bb02d91382d99d72ce5e80b321a53a80e576.tar.xz Strengthy-d0c2bb02d91382d99d72ce5e80b321a53a80e576.zip | |
Added form classes for "create workout" form
Diffstat (limited to 'app/forms.py')
| -rw-r--r-- | app/forms.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/app/forms.py b/app/forms.py deleted file mode 100644 index 12e4bf8..0000000 --- a/app/forms.py +++ /dev/null @@ -1,13 +0,0 @@ -from flask_wtf import FlaskForm -from wtforms import StringField, PasswordField, BooleanField -from wtforms.validators import DataRequired, Email - -class LoginForm(FlaskForm): - username = StringField("username", validators=[DataRequired()]) - password = PasswordField("password", validators=[DataRequired()]) - #remember_me = BooleanField() - -class RegisterForm(FlaskForm): - username = StringField("username", validators=[DataRequired()]) - password = PasswordField("password", validators=[DataRequired()]) - email = StringField("email", validators=[DataRequired(), Email()]) |
