summaryrefslogtreecommitdiff
path: root/app/views/layouts/_messages.html.haml
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-07-02 23:19:38 -0700
committerelijah <elijah@riseup.net>2013-07-02 23:19:38 -0700
commitfcd9c579866e7d17891c4d1426ef7f230d16f1c5 (patch)
tree2a849dea556c4e66e73e21ab97482f7cd55b90df /app/views/layouts/_messages.html.haml
parent96206389a863f105bd0b37dcdb9d00b7c30d8b51 (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.haml11
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}"