-
Notifications
You must be signed in to change notification settings - Fork 0
/
forms.py
26 lines (19 loc) · 852 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
26
from flask_wtf import Form
from wtforms import StringField, TextAreaField, SubmitField, PasswordField, validators, ValidationError, SelectField
class signupform(Form):
memberName = TextAreaField("Name")
notificationEmail = TextAreaField("Notification Email")
phoneNumber = TextAreaField("Phone Number")
location = TextAreaField("Vakif")
class donationform(Form):
memberName = TextAreaField("Name")
notificationEmail = TextAreaField("Notification Email")
phoneNumber = TextAreaField("Phone Number")
donationAmount = TextAreaField("Donation Amount")
location = TextAreaField("Vakif")
class LoginForm(Form):
adminEmail = TextAreaField("Admin Email")
adminPassword = PasswordField("Admin Password")
class SmsForm(Form):
sms_content = TextAreaField("SMS content")
location = TextAreaField("Vakif")