{% if params_list|length == 0 %}

Query has no variables to set. Press button to run.

{% else %}

Enter variables

{% endif %}
{% for p in params_list %}
{% endfor %}