Skip to content
Snippets Groups Projects
Commit c6597d4e authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Add character counter for corpus form.

parent 2368cfb1
No related branches found
No related tags found
No related merge requests found
......@@ -94,7 +94,7 @@
<div class="col s12 m4">
<div class="input-field">
<i class="material-icons prefix">title</i>
{{ create_corpus_form.title() }}
{{ create_corpus_form.title(data_length='32') }}
{{ create_corpus_form.title.label }}
{% for error in create_corpus_form.title.errors %}
<span class="helper-text red-text">{{ error }}</span>
......@@ -104,7 +104,7 @@
<div class="col s12 m8">
<div class="input-field">
<i class="material-icons prefix">description</i>
{{ create_corpus_form.description() }}
{{ create_corpus_form.description(data_length='255') }}
{{ create_corpus_form.description.label }}
{% for error in create_corpus_form.description.errors %}
<span class="helper-text red-text">{{ error }}</span>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment