Skip to content

Commit

Permalink
Fixing check on inputs num
Browse files Browse the repository at this point in the history
  • Loading branch information
maricaantonacci authored Apr 2, 2019
1 parent fa624d1 commit 0ff666e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/createdep.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h1> Template: {{selectedTemplate}} </h1>
</div>
{% endif %}

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

0 comments on commit 0ff666e

Please sign in to comment.