mirror of
https://github.com/logos-co/open-law.git
synced 2025-01-09 14:25:58 +00:00
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")
|