diff options
author | elijah <elijah@riseup.net> | 2013-07-02 23:19:38 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-07-04 04:12:59 -0700 |
commit | b8c44acfa5b1fbc8b35e812bd6c23aa6d824c4b1 (patch) | |
tree | 34c34a5a3bec60ee415611c716b31ddb0cb5c7af /app/views/layouts/_messages.html.haml | |
parent | fa7b7425e7c53282472c1c9ce1cdc7272f55cfd4 (diff) |
cleaned up application layout and some minor css.
Diffstat (limited to 'app/views/layouts/_messages.html.haml')
-rw-r--r-- | app/views/layouts/_messages.html.haml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/app/views/layouts/_messages.html.haml b/app/views/layouts/_messages.html.haml index a3bbbac..7ff985f 100644 --- a/app/views/layouts/_messages.html.haml +++ b/app/views/layouts/_messages.html.haml @@ -1,5 +1,6 @@ -- flash.each do |name, msg| - - if msg.is_a?(String) - %div{:class => "alert alert-#{name == :notice ? "success" : "error"}"} - %a.close{"data-dismiss" => "alert"} × - = content_tag :div, format_flash(msg), :id => "flash_#{name}" +#messages + - flash.each do |name, msg| + - if msg.is_a?(String) + %div{:class => "alert alert-#{name == :notice ? "success" : "error"}"} + %a.close{"data-dismiss" => "alert"} × + = content_tag :div, format_flash(msg), :id => "flash_#{name}" |