from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField
from wtforms.validators import DataRequired, Length

class SearchForm(FlaskForm):
    search = StringField('Search movie', validators=[DataRequired()])
    submit = SubmitField('Search')

from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField
from wtforms.validators import DataRequired, Length

class SearchForm(FlaskForm):
    search = StringField('Search movie', validators=[DataRequired()])
    submit = SubmitField('Search')
