Slowly getting there.

This commit is contained in:
2022-07-17 18:01:19 +01:00
parent dc739cc189
commit 3cfbbc0c0b
2 changed files with 8 additions and 3 deletions

View File

@@ -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>