diff --git a/app/views/org_admin/templates/_form.html.erb b/app/views/org_admin/templates/_form.html.erb index 1d5e4d216..fbbf46146 100644 --- a/app/views/org_admin/templates/_form.html.erb +++ b/app/views/org_admin/templates/_form.html.erb @@ -20,7 +20,10 @@ placement: 'right' }%>
<%= f.label(:visibility) do %> - <%= f.check_box(:visibility, checked: f.object.organisationally_visible?) %> + <%= f.check_box(:visibility, + { checked: f.object.organisationally_visible? }, + 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 %>