From 6283b6582960544dc02e438e739775e3239b802c Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Sun, 3 Aug 2014 21:19:55 -0400 Subject: better 2-way highlighting, still not perfect --- web/templates/index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'web/templates/index.html') diff --git a/web/templates/index.html b/web/templates/index.html index 2ba18c1..0a07be1 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -6,7 +6,8 @@ {% for i, coord in enumerate(orig_coords) %} - + + {# data-corr="{{",".join(map(str,corr_coords_index[i]))}}" #} {% end %} @@ -19,7 +20,7 @@

Texte corrigé

{% for i, word in enumerate(corr_words) %} - {{word}} + {{word}} {% end %}
{% end %} -- cgit v1.2.3-70-g09d2