lib/masterview/extras/app/views/layouts/masterview_admin.rhtml in masterview-0.3.1 vs lib/masterview/extras/app/views/layouts/masterview_admin.rhtml in masterview-0.3.2
- old
+ new
@@ -40,12 +40,14 @@
</div>
<div class="mv_admin_list content">
<h1>MasterView Admin</h1>
- <% if @flash[:notice] %>
+ <% if flash[:notice] %>
+
<div class="messages" id="admin_messages">
- <%= h @flash[:notice] %>
+ <%= h flash[:notice] %>
+
</div>
<% end %>
<%= @content_for_layout %>