From 3cacdf8185ea921644dc03f37a1d04961208c6bc Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Tue, 17 Sep 2019 10:00:39 +0200
Subject: [PATCH] Set version for latest.
---
app/services/forms.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/services/forms.py b/app/services/forms.py
index 5de8af07..ac3f3d84 100644
--- a/app/services/forms.py
+++ b/app/services/forms.py
@@ -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()])