Bike database interface
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
791 B

<nav class="navbar navbar-default">
<div class='navbar-header'>
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<%= link_to "Bikes & Clients", root_path, :class=>"navbar-brand" %>
</div>
<div class="navbar-collapse collapse navbar-responsive-collapse" id='collapse-1'>
<ul class="nav navbar-nav navbar-right">
<li><%= if current_user
link_to "Sign Out", destroy_user_session_path, method: :delete
else
link_to "Sign In", new_user_session_path
end %></li>
</ul>
</div>
</nav>