End chapter 8
[depot.git] / app / views / layouts / store.html.erb
index 7bd5325d42555b9ebe672c2d333b1960c732ffba..77e86d9e23e08684c1cbb69f3c329f337ed50fd0 100644 (file)
         <a href="http://www..../contact">Contact</a><br />
       </div>
       <div id="main">
+        <% if flash[:notice] -%>
+            <div id="notice"><%= flash[:notice] %></div>
+        <% end -%>
+        
         <%= yield :layout %>
       </div>
     </div>