diff --git a/app/views/org_admin/templates/_form.html.erb b/app/views/org_admin/templates/_form.html.erb
index 0f2514b8cb..130aedf50d 100644
--- a/app/views/org_admin/templates/_form.html.erb
+++ b/app/views/org_admin/templates/_form.html.erb
@@ -20,7 +20,11 @@
placement: 'right' }%>
<%= f.label(:visibility) do %>
- <%= f.check_box(:visibility, checked: f.object.visibility == 'organisationally_visible') %>
+ <%= f.check_box(:visibility,
+ {},
+ f.object.class.visibilities[:organisationally_visible],
+ f.object.class.visibilities[:publicly_visible])
+ %>
<%= _('for internal %{org_name} use only') % { org_name: f.object.org.name } %>
<% end %>
diff --git a/app/views/org_admin/templates/_show.html.erb b/app/views/org_admin/templates/_show.html.erb
index 26a97cbd0d..f59c254872 100644
--- a/app/views/org_admin/templates/_show.html.erb
+++ b/app/views/org_admin/templates/_show.html.erb
@@ -31,7 +31,7 @@
<%= _('Visibility') %>
- <% if template.visibility == 'organisationally_visible' %>
+ <% if template.organisationally_visible? %>
<%= _('for internal %{org_name} use only') % {org_name: template.org.name} %>
<% else %>
<%= _('available to the public') + (template.published? ? '' : ' (once published)') %>