-
Notifications
You must be signed in to change notification settings - Fork 0
/
forms.py
25 lines (20 loc) · 801 Bytes
/
forms.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField, BooleanField
class AddLoginForm(FlaskForm):
"""Form for logging in"""
username = StringField("Username")
password = PasswordField("Password")
class AddSignUpForm(FlaskForm):
"""Form for signing up"""
username = StringField("Username")
password = PasswordField("Password")
privacyAgree = BooleanField("Privacy Agreement")
class AddDelAccForm(FlaskForm):
"""Form to delete account"""
class AddSelectionForm(FlaskForm):
"""Form to handle delete and export selections"""
class AddImportForm(FlaskForm):
"""Form to select import data"""
subscriptions = BooleanField("Subscriptions")
likedVideos = BooleanField("Liked Videos")
playlists = BooleanField("Your Playlists")