Set version for latest.

This commit is contained in:
Patrick Jentsch 2019-09-17 10:00:39 +02:00
parent ba838eaf1f
commit 3cacdf8185

View File

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