Sha256: 1330ac330d87861de16d562ef9120247093cebac23dba25ae2b7abd5421bfd47
Contents?: true
Size: 957 Bytes
Versions: 1
Compression:
Stored size: 957 Bytes
Contents
<title>Whodat Navbar</title> <%= csrf_meta_tags %> <%= csp_meta_tag %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> <%= stylesheet_link_tag "whodat/application", media: "all" %> <%= javascript_include_tag "whodat/application" %> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <div class="topnav" id="myTopnav"> <a> <%= link_to 'Main app', main_app.root_path %> </a> <a> <%= link_to 'Signup', new_user_path %> </a> <a> <%= link_to 'Login', new_session_path %> </a> <% if user_signed_in? %> <a> <%= link_to 'Logout', 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/application/_navbar.html.erb |