Switched from flask-bootstrap to standalone Bootstrap 5 and overhaul of UI
This commit is contained in:
@@ -4,6 +4,6 @@ from wtforms.validators import URL, DataRequired, AnyOf
|
||||
|
||||
|
||||
class DownloadForm(FlaskForm):
|
||||
url = URLField('Video, Channel or Playlist', validators=[DataRequired(), URL()], render_kw={'placeholder': 'YouTube Link'})
|
||||
url = URLField('Video, Channel or Playlist', validators=[DataRequired(), URL()], render_kw={'placeholder': 'URL'})
|
||||
ext = SelectField('Type', choices=[('mp3', 'Audio'), ('mp4', 'Video')], validators=[AnyOf(('mp3', 'mp4'))])
|
||||
submit = SubmitField('Go')
|
||||
|
||||
Reference in New Issue
Block a user