about summary refs log tree commit diff
path: root/app/views/layouts/auth.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/auth.html.haml')
-rw-r--r--app/views/layouts/auth.html.haml8
1 files changed, 1 insertions, 7 deletions
diff --git a/app/views/layouts/auth.html.haml b/app/views/layouts/auth.html.haml
index 899690419..b2ceed12a 100644
--- a/app/views/layouts/auth.html.haml
+++ b/app/views/layouts/auth.html.haml
@@ -9,13 +9,7 @@
           = image_tag 'logo.png'
 
     .form-container
-      - if flash[:notice]
-        .flash-message.notice
-          %strong= flash[:notice]
-
-      - if flash[:alert]
-        .flash-message.alert
-          %strong= flash[:alert]
+      = render 'flashes'
 
       = yield