Remove old version

This commit is contained in:
Patrick Jentsch 2020-01-20 15:32:38 +01:00
parent ed0ec31246
commit e2dada4dc9

View File

@ -23,8 +23,7 @@ class AddNLPJobForm(FlaskForm):
title = StringField('Title', validators=[DataRequired(), Length(1, 32)]) title = StringField('Title', validators=[DataRequired(), Length(1, 32)])
version = SelectField('Version', version = SelectField('Version',
choices=[('2.2.0', 'Latest (2.2.0)'), choices=[('2.2.0', 'Latest (2.2.0)'),
('2.2.0', '2.2.0'), ('2.2.0', '2.2.0')],
('2.1.0', '2.1.0')],
validators=[DataRequired()]) validators=[DataRequired()])
def validate_files(form, field): def validate_files(form, field):