from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField, BooleanField, SubmitField
from wtforms.validators import DataRequired

class LoginForm(FlaskForm):
    username = StringField('Usuário', validators=[DataRequired()])
    password = PasswordField('<PASSWORD>', validators=[DataRequired()])
    remember_me = BooleanField('Se alembre')
    submit = SubmitField('Login')
from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField, BooleanField, SubmitField
from wtforms.validators import DataRequired

class LoginForm(FlaskForm):
    username = StringField('Usuário', validators=[DataRequired()])
    password = PasswordField('<PASSWORD>', validators=[DataRequired()])
    remember_me = BooleanField('Se alembre')
    submit = SubmitField('Login')