From c6597d4e37742f5503e246e29602262f72590f40 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Thu, 12 Sep 2019 12:05:59 +0200 Subject: [PATCH] Add character counter for corpus form. --- app/templates/main/dashboard.html.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/main/dashboard.html.j2 b/app/templates/main/dashboard.html.j2 index c0f016e0..625b0be6 100644 --- a/app/templates/main/dashboard.html.j2 +++ b/app/templates/main/dashboard.html.j2 @@ -94,7 +94,7 @@
title - {{ create_corpus_form.title() }} + {{ create_corpus_form.title(data_length='32') }} {{ create_corpus_form.title.label }} {% for error in create_corpus_form.title.errors %} {{ error }} @@ -104,7 +104,7 @@
description - {{ create_corpus_form.description() }} + {{ create_corpus_form.description(data_length='255') }} {{ create_corpus_form.description.label }} {% for error in create_corpus_form.description.errors %} {{ error }}