diff --git a/app/views/error_templates/show.html.slim b/app/views/error_templates/show.html.slim
index 65e4069a..bc0d886c 100644
--- a/app/views/error_templates/show.html.slim
+++ b/app/views/error_templates/show.html.slim
@@ -13,7 +13,7 @@ h2.mt-4
= t 'error_templates.attributes'
.table-responsive
- table.table class="#{@error_templates.error_template_attributes.present? ? 'sortable' : ''}"
+ table.table class="#{@error_template.error_template_attributes.present? ? 'sortable' : ''}"
thead
tr
th