diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index 9f331565..0b738626 100644
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -23,7 +23,16 @@
.span12
= render 'layouts/messages'
.row-fluid
- .span12
+ %noscript
+ :css
+ #yield-span {
+ display: none;
+ }
+ %h2
+ JavaScript is not enabled
+ %p
+ OSEM requires JavaScript to be enabled to function. Please turn on JavaScript in your browser's settings and reload the page to continue.
+ .span12#yield-span
= yield
#push
#footer
@@ -32,4 +41,4 @@
OSEM is (C) 2013
= link_to "Matt Barringer", "http://incoherent.de"
and released under the GPL. You can get the source code from
- = link_to "Github.", "https://github.com/mbarringer/osem"
\ No newline at end of file
+ = link_to "Github.", "https://github.com/mbarringer/osem"