update template for word_cloud, refactor empty json answer

This commit is contained in:
Vasyl Nakvasiuk
2013-04-10 17:41:18 +03:00
parent ed23aef607
commit 6deeb60278
4 changed files with 25 additions and 10 deletions

View File

@@ -6,7 +6,12 @@
<section id="input-cloud-section">
% for row in range(num_inputs):
<input class="input-cloud" type="text" size="40" />
<input
class="input-cloud"
${'style="display: none;"' if submitted else ''}
type="text"
size="40"
/>
% endfor
<section class="action">