diff --git a/app/views/types/_form.html.erb b/app/views/types/_form.html.erb
index f521d12243..a60f1878ef 100644
--- a/app/views/types/_form.html.erb
+++ b/app/views/types/_form.html.erb
@@ -84,10 +84,10 @@ See doc/COPYRIGHT.rdoc for more details.
<% attr = attributes[name] %>
- <%= label "type_attribute_visibility_#{name}",
- translated_attribute_name(name, attr),
- value: "type_attribute_visibility[#{name}]",
- class: 'form--label' %>
+ <%= label_tag "type_attribute_visibility_#{name}",
+ translated_attribute_name(name, attr),
+ value: "type_attribute_visibility[#{name}]",
+ class: 'form--label' %>
|
" type="hidden" value="hidden" />
|