diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql.html b/debug_toolbar/templates/debug_toolbar/panels/sql.html
index 626ec5c1b..2314d2b86 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/sql.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/sql.html
@@ -16,10 +16,10 @@
{% if query.params %}
{% if query.is_select %}
- SELECT
- EXPLAIN
+ SELECT
+ EXPLAIN
{% if is_mysql %}
- PROFILE
+ PROFILE
{% endif %}
{% endif %}
{% endif %}
diff --git a/debug_toolbar/templates/debug_toolbar/panels/templates.html b/debug_toolbar/templates/debug_toolbar/panels/templates.html
index 9a1a16d28..080deafc3 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/templates.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/templates.html
@@ -14,7 +14,7 @@ {% trans "Template" %}{{ templates|length|pluralize }}
{% if templates %}
{% for template in templates %}
- - {{ template.template.name|addslashes }}
+ - {{ template.template.name|addslashes }}
- {{ template.template.origin_name|addslashes }}
{% if template.context %}
-
|