diff --git a/app/views/main/compiler_msg.html.haml b/app/views/main/compiler_msg.html.haml --- a/app/views/main/compiler_msg.html.haml +++ b/app/views/main/compiler_msg.html.haml @@ -1,6 +1,6 @@ %h2= "Compiler message for submission \##{@submission.number}, task: #{@submission.problem.name}" %p - - if @submission.compiler_message.chomp == '' - no message + - if @submission.compiler_message == nil or @submission.compiler_message.chomp == '' + No message - else = simple_format(@submission.compiler_message)