Sha256: 630a76607b74220384c00d677d2ac84db34a51c6b95165dc4cfa4f3837dfb9fe

Contents?: true

Size: 616 Bytes

Versions: 1

Compression:

Stored size: 616 Bytes

Contents

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<%= stylesheet_link_tag "whodat/navbar" %>

<div class="topnav" id="myTopnav">
 
  <a> <%= link_to 'Main app', main_app.root_path %> </a>
  <a> <%= link_to 'Signup', whodat.new_user_path %> </a>
  <a> <%= link_to 'Login', whodat.new_session_path %> </a>


  <% if user_signed_in? %>
    <a> <%= link_to 'Logout', whodat.session_path(current_user), data: {confirm: "Are you sure?" }, method: :delete %> </a>
    <div id="username"> You're logged in as <%=current_user.name %> </div>
  <% end %>
 
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
whodat-1.0.0 app/views/whodat/dashboard/_navbar.html.erb