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