{% for tab in tabs %} {% endfor %}
{% if not request.GET.tab or request.GET.tab == 'sql' %} {% include 'lens/components/codeblock.html' with code=trace.data.formatted_sql wrap_height=1 only %} {% elif request.GET.tab == 'stacktrace' %} {% include 'lens/components/stacktrace.html' with stacktrace=trace.data.stacktrace only %} {% else %} {% include 'lens/components/codeblock.html' with code=trace.data.formatted_sql wrap_height=1 only %} {% endif %}