% case custom_field.class.name when 'UserCustomField' %>
<%= form.check_box(:significant, :label => l(:label_on_registration)) %>
<% when 'VersionCustomField' %><%= form.check_box(:significant, :label => l(:label_shown_on_project_page)) %>
<% end %>