open-law/app/forms/auth.py
Kostiantyn Stoliarskyi 6147d924d7 initial commit
2023-04-20 16:10:16 +03:00

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")