2015-10-15 01:36:22 +03:00
|
|
|
from flask_wtf import Form
|
|
|
|
from wtforms import StringField, PasswordField, validators
|
|
|
|
|
|
|
|
|
|
|
|
class LoginForm(Form):
|
2015-11-22 19:19:11 +02:00
|
|
|
login = StringField('Username', [validators.DataRequired()])
|
2015-10-15 01:36:22 +03:00
|
|
|
password = PasswordField('Password', [validators.DataRequired()])
|