Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development

This commit is contained in:
Stephan Porada 2019-10-30 15:16:42 +01:00
commit 4d953f85f7
5 changed files with 6 additions and 6 deletions

View File

@ -21,7 +21,7 @@ class AddCorpusFileForm(FlaskForm):
class CreateCorpusForm(FlaskForm):
description = StringField('Description',
validators=[DataRequired(), Length(1, 64)])
submit = SubmitField('Create corpus')
submit = SubmitField()
title = StringField('Title', validators=[DataRequired(), Length(1, 32)])

View File

@ -19,7 +19,7 @@ class NewNLPJobForm(FlaskForm):
('pt', 'Portuguese'),
('es', 'Spanish')],
validators=[DataRequired()])
submit = SubmitField('Submit')
submit = SubmitField()
title = StringField('Title', validators=[DataRequired(), Length(1, 32)])
version = SelectField('Version',
choices=[('2.1.0', 'Latest (2.1.0)'),
@ -52,7 +52,7 @@ class NewOCRJobForm(FlaskForm):
('spa', 'Spanish; Castilian')],
validators=[DataRequired()])
split = BooleanField('Split')
submit = SubmitField('Submit')
submit = SubmitField()
title = StringField('Title', validators=[DataRequired(), Length(1, 32)])
version = SelectField('Version',
choices=[('latest', 'Latest')],

View File

@ -116,7 +116,7 @@
</div>
</div>
<div class="modal-footer">
{{ create_corpus_form.submit(class='btn') }}
<button class="btn waves-effect waves-light" id="submit" name="submit" type="submit">Submit<i class="material-icons right">send</i></button>
</div>
</form>
</div>

View File

@ -116,7 +116,7 @@
</div>
</div>
<div class="card-action right-align">
{{ new_job_form.submit(class='btn') }}
<button class="btn waves-effect waves-light" id="submit" name="submit" type="submit">Submit<i class="material-icons right">send</i></button>
</div>
</form>
</div>

View File

@ -204,7 +204,7 @@
</div>
</div>
<div class="card-action right-align">
{{ new_job_form.submit(class='btn') }}
<button class="btn waves-effect waves-light" id="submit" name="submit" type="submit">Submit<i class="material-icons right">send</i></button>
</div>
</form>
</div>