<div class="preview_sql"> {% if query_data is empty %} {% trans 'No change' %} {% elseif query_data is iterable %} {% for query in query_data %} {{ Util_formatSql(query) }} {% endfor %} {% else %} {{ Util_formatSql(query_data) }} {% endif %} </div>