add navigation and flash messages

This commit is contained in:
Jesse C. Fisher 2015-01-02 03:13:01 -08:00
parent bc9b23b865
commit 0e90cc937b
2 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,3 @@
- flash.each do |key, value|
%div{class: "alert alert-#{key}"}
= value

View File

@ -8,7 +8,13 @@
</head>
<body>
<%= yield %>
<header>
<%= render "layouts/navigation_links" %>
</header>
<%= render "layouts/flashmessages" %>
<%= yield %>
</body>
</html>