Slowly getting there.
This commit is contained in:
@@ -11,8 +11,6 @@
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<% if notice %><p class="notice"><%= notice %></p><% end %>
|
||||
<% if alert %><p class="alert"><%= alert %></p><% end %>
|
||||
<nav>
|
||||
<a href="/">Home</a>
|
||||
<% if !user_signed_in? %>
|
||||
@@ -22,6 +20,9 @@
|
||||
<% end %>
|
||||
</nav>
|
||||
</header>
|
||||
<% if notice or alert %>
|
||||
<% if notice %><p class="notice"><%= notice %></p><% end %><% if alert %><p class="alert"><%= alert %></p><% end %>
|
||||
<% end %>
|
||||
<%= yield %>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user