diff --git a/app/views/submissions/edit.html.haml b/app/views/submissions/edit.html.haml
--- a/app/views/submissions/edit.html.haml
+++ b/app/views/submissions/edit.html.haml
@@ -51,6 +51,18 @@
%h2 Console
%textarea#console{style: 'height: 100%; width: 100%;background-color:#000;color:#fff;font-family: consolas, monaco, "Droid Sans Mono";',rows: 20}
+.modal.fade#compiler{tabindex: -1,role: 'dialog'}
+ .modal-dialog.modal-lg{role:'document'}
+ .modal-content
+ .modal-header
+ %button.close{type: 'button', data: {dismissed: :modal}, aria: {label: 'close'}}
+ %span{aria: {hidden: 'true'}, data: {dismiss: 'modal'}} ×
+ %h4 Compiler message
+ .modal-body
+ %pre#compiler_msg= @submission.compiler_message
+ .modal-footer
+ %button.btn.btn-default{type: 'button', data: {dismiss: 'modal'}} Close
+
:javascript
$(document).ready(function() {
e = ace.edit("editor")