diff options
author | jessib <jessib@leap.se> | 2013-06-27 12:31:39 -0700 |
---|---|---|
committer | jessib <jessib@leap.se> | 2013-06-27 12:31:39 -0700 |
commit | a01e7686ea7c046a9cd544b618b30727f2a41b3b (patch) | |
tree | e00261ade269bfe6ddc843a728a4355807228ea9 /app | |
parent | ba036558e47da53e86ccb8cb7fb4ee1db725b804 (diff) |
Want to tweak some, but start to displaying base generic message via javascript.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/layouts/_messages.html.haml | 2 | ||||
-rw-r--r-- | app/views/layouts/application.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/_messages.html.haml b/app/views/layouts/_messages.html.haml index 80e34d4..6ec70a2 100644 --- a/app/views/layouts/_messages.html.haml +++ b/app/views/layouts/_messages.html.haml @@ -2,4 +2,4 @@ - if msg.is_a?(String) %div{:class => "alert alert-#{name == :notice ? "success" : "error"}"} %a.close{"data-dismiss" => "alert"} × - = content_tag :div, msg, :id => "flash_#{name}" + = content_tag :div, msg, :class => "flash_#{name}" diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index e6d22f0..2b8206d 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -18,6 +18,6 @@ .content .row .span12 - = render 'layouts/messages' + #messages= render 'layouts/messages' = yield %footer |