2022-06-20 19:48:08 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Saucy</title>
|
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
|
|
<%= csrf_meta_tags %>
|
|
|
|
<%= csp_meta_tag %>
|
|
|
|
|
|
|
|
<%= stylesheet_link_tag "application" %>
|
|
|
|
<%= javascript_importmap_tags %>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2022-06-25 22:45:47 +00:00
|
|
|
<% if signed_in? %>
|
|
|
|
<nav>
|
|
|
|
<ul>
|
|
|
|
<li><%= link_to t('navigation.members'), members_path %></li>
|
|
|
|
<li><%= link_to t('navigation.board'), edit_board_path %></li>
|
2022-10-06 14:50:38 +00:00
|
|
|
<li><%= link_to t('navigation.notifications'), notifications_path %></li>
|
2023-03-19 15:15:56 +00:00
|
|
|
<li><%= link_to t('navigation.contributions'), contributions_path %></li>
|
2022-06-25 22:45:47 +00:00
|
|
|
<li>
|
|
|
|
<%= button_to sign_out_path, method: :delete do %>
|
|
|
|
Sign out of <%= current_user.email %>
|
|
|
|
<% end %>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
<% end %>
|
2022-06-25 12:48:46 +00:00
|
|
|
|
2022-06-20 19:48:08 +00:00
|
|
|
<%= yield %>
|
|
|
|
</body>
|
|
|
|
</html>
|