Skip to content

Commit 0ff666e

Browse files
Fixing check on inputs num
1 parent fa624d1 commit 0ff666e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/templates/createdep.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ <h1> Template: {{selectedTemplate}} </h1>
3838
</div>
3939
{% endif %}
4040

41-
{% if inputs|length > 1 %}
41+
{% if inputs|length > 0 %}
4242
<h2>Set input values:</h2>
4343
{% endif %}
4444
<form action="{{ url_for('createdep', template=selectedTemplate) }}" method="post">

0 commit comments

Comments
 (0)