8 lines
279 B
Python
8 lines
279 B
Python
from flask_wtf import FlaskForm
|
|
from wtforms import StringField, PasswordField, BooleanField, SubmitField
|
|
from wtforms.validators import DataRequired
|
|
|
|
class UploadForm(FlaskForm):
|
|
url = StringField('Link', validators=[DataRequired()])
|
|
submit = SubmitField('Cat or not?')
|