<gh_stars>0
from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField, SubmitField
from wtforms.validators import DataRequired


class RegisterForm(FlaskForm):
    email = StringField('E-mail', validators=[DataRequired()])
    name = StringField('Имя', validators=[DataRequired()])
    surname = StringField('Фамилия', validators=[DataRequired()])
    country = StringField('Страна', validators=[DataRequired()])
    city = StringField('Город', validators=[DataRequired()])
    password = PasswordField('<PASSWORD>', validators=[DataRequired()])
    password_again = PasswordField('<PASSWORD>', validators=[DataRequired()])
    submit = SubmitField('Зарегистрироваться!')
from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField, SubmitField
from wtforms.validators import DataRequired


class RegisterForm(FlaskForm):
    email = StringField('E-mail', validators=[DataRequired()])
    name = StringField('Имя', validators=[DataRequired()])
    surname = StringField('Фамилия', validators=[DataRequired()])
    country = StringField('Страна', validators=[DataRequired()])
    city = StringField('Город', validators=[DataRequired()])
    password = PasswordField('<PASSWORD>', validators=[DataRequired()])
    password_again = PasswordField('<PASSWORD>', validators=[DataRequired()])
    submit = SubmitField('Зарегистрироваться!')