Add newer nlp version

This commit is contained in:
Patrick Jentsch 2020-01-07 11:34:16 +01:00
parent 683bf93782
commit 0a3f2d3a67

View File

@ -22,7 +22,8 @@ class AddNLPJobForm(FlaskForm):
submit = SubmitField() submit = SubmitField()
title = StringField('Title', validators=[DataRequired(), Length(1, 32)]) title = StringField('Title', validators=[DataRequired(), Length(1, 32)])
version = SelectField('Version', version = SelectField('Version',
choices=[('2.1.0', 'Latest (2.1.0)'), choices=[('2.2.0', 'Latest (2.2.0)'),
('2.2.0', '2.2.0'),
('2.1.0', '2.1.0')], ('2.1.0', '2.1.0')],
validators=[DataRequired()]) validators=[DataRequired()])