From a01e7686ea7c046a9cd544b618b30727f2a41b3b Mon Sep 17 00:00:00 2001 From: jessib Date: Thu, 27 Jun 2013 12:31:39 -0700 Subject: Want to tweak some, but start to displaying base generic message via javascript. --- app/views/layouts/_messages.html.haml | 2 +- app/views/layouts/application.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app') 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 -- cgit v1.2.3