mirror of https://github.com/logos-co/open-law.git
10 lines
315 B
Python
10 lines
315 B
Python
from flask_wtf import FlaskForm
|
|
from wtforms import StringField, PasswordField, SubmitField
|
|
from wtforms.validators import DataRequired
|
|
|
|
|
|
class LoginForm(FlaskForm):
|
|
user_id = StringField("Username", [DataRequired()])
|
|
password = PasswordField("Password", [DataRequired()])
|
|
submit = SubmitField("Login")
|