aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/layouts/admin.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/admin.rhtml')
-rw-r--r--app/views/layouts/admin.rhtml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/layouts/admin.rhtml b/app/views/layouts/admin.rhtml
index 51814b0d1..b9b362332 100644
--- a/app/views/layouts/admin.rhtml
+++ b/app/views/layouts/admin.rhtml
@@ -20,7 +20,9 @@
- you are <%= h @http_auth_user %>
</p>
- <p style="color: green"><%= flash[:notice] %></p>
+ <% if flash[:notice] %>
+ <p id="notice"><%= flash[:notice] %></p>
+ <% end %>
<%= yield %>