%= csrf_meta_tags %>
<%= csp_meta_tag %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
<%= javascript_pack_tag 'menubar' %>
<%= notice %>
<%= alert %>
<% if current_user %>
Signed in as <%=current_user.email%>
<% end %>
<%=
link_to_if(current_user.nil?, "Login", new_user_session_path, class: 'btn btn-primary m-5') do
link_to('Sign out', destroy_user_session_path, :method => 'delete', class: 'btn btn-danger m-5')
end
%>
<%= yield %>