Permalink
Browse files

Don't remove everything when closing alert

  • Loading branch information...
1 parent 3ea7659 commit d9f8f24e78f19dda24a00da1e68e41bfd8ab7c53 @iain committed Jan 21, 2012
Showing with 6 additions and 2 deletions.
  1. +4 −0 app/assets/stylesheets/_layout.sass
  2. +2 −2 app/views/shared/_messages.html.haml
@@ -27,3 +27,7 @@ iframe
white-space: nowrap
overflow: hidden
text-overflow: ellipsis
+
+.form-horizontal
+ input.string
+ width: 400px
@@ -1,11 +1,11 @@
- if flash[:notice]
- .alert.alert-success{data("dismiss", "alert")}
+ .alert.alert-message.alert-success{data("dismiss", "alert")}
= link_to "×", "#", :class => "close"
%strong Success!
= flash[:notice]
- if flash[:alert]
- .alert.alert-error{data("dismiss", "alert")}
+ .alert.alert-message.alert-error{data("dismiss", "alert")}
= link_to "×", "#", :class => "close"
%strong Error!
= flash[:alert]

0 comments on commit d9f8f24

Please sign in to comment.