remove bootstrap_class_for helper function and related usage

This commit is contained in:
hitman 2017-03-07 16:06:22 +05:30
parent 33b9a2b93b
commit 37fb336af7
2 changed files with 1 additions and 24 deletions

View file

@ -6,12 +6,4 @@
%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.
- flash.each do |type, message|
.row
.col-md-12
%div{:class=>"alert alert-dismissable #{bootstrap_class_for(type)}", :id=>"flash"}
.button.close{"data-dismiss" => "alert", "aria-hidden"=>"true"}
×
%p
= message
OSEM requires JavaScript to be enabled to function. Please turn on JavaScript in your browser's settings and reload the page to continue.