diff --git a/app/views/admin/cancerpredicts/showSubmit.html.erb b/app/views/admin/cancerpredicts/showSubmit.html.erb index ecde224..885ec2b 100644 --- a/app/views/admin/cancerpredicts/showSubmit.html.erb +++ b/app/views/admin/cancerpredicts/showSubmit.html.erb @@ -33,7 +33,7 @@ <% result.result.each do |key,value| %> <% @key_len %> <% if key != "locale" %> - <% if result.values[key][I18n.locale.to_s].length == 0 %> + <% if (result.values[key][I18n.locale.to_s].length == 0 rescue true) %>