From fd6f1220c2a3bf13ea149a234babda4341f7cf08 Mon Sep 17 00:00:00 2001 From: Carine Dengler Date: Mon, 5 Oct 2020 11:09:14 +0200 Subject: [PATCH] moved error message and changed how error message(s) are displayed in ui --- app/templates/macros/validate_length.html | 70 ++++++++++++++++------- app/templates/main/corpus_new.html | 2 +- 2 files changed, 49 insertions(+), 23 deletions(-) diff --git a/app/templates/macros/validate_length.html b/app/templates/macros/validate_length.html index 09ed6de4..bb0cab69 100644 --- a/app/templates/macros/validate_length.html +++ b/app/templates/macros/validate_length.html @@ -1,29 +1,55 @@ {% macro validateLength(textArea, index, length) %} {% endmacro %} diff --git a/app/templates/main/corpus_new.html b/app/templates/main/corpus_new.html index ba8f419c..77accaf3 100644 --- a/app/templates/main/corpus_new.html +++ b/app/templates/main/corpus_new.html @@ -34,7 +34,7 @@

Create a new corpus

Data {{ upload_text.upload_text("tokens") }}
- + The TSV should at least have the headers : form, lemma, POS, morph Example :
form	lemma	POS	morph