Skip to content
Snippets Groups Projects
Commit e2dada4d authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Remove old version

parent ed0ec312
No related branches found
No related tags found
No related merge requests found
...@@ -23,8 +23,7 @@ class AddNLPJobForm(FlaskForm): ...@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment