summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-06-27 12:31:39 -0700
committerjessib <jessib@leap.se>2013-06-27 12:31:39 -0700
commita01e7686ea7c046a9cd544b618b30727f2a41b3b (patch)
treee00261ade269bfe6ddc843a728a4355807228ea9 /app
parentba036558e47da53e86ccb8cb7fb4ee1db725b804 (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.haml2
-rw-r--r--app/views/layouts/application.html.haml2
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