<nav class="navbar navbar-light bg-faded">
  <%= link "Classlab", to: page_path(@conn, :index), class: "navbar-brand" %>

  <ul class="nav navbar-nav ">
    <%= content_tag :li, class: "nav-item #{if(@conn.path_info == ["events"], do: " active")}" do %>
      <%= link "Events", to: event_path(@conn, :index), class: "nav-link" %>
    <% end %>
  </ul>
</nav>
<nav class="navbar navbar-light bg-faded">
  <%= link "Classlab", to: page_path(@conn, :index), class: "navbar-brand" %>

  <ul class="nav navbar-nav ">
    <%= content_tag :li, class: "nav-item #{if(@conn.path_info == ["events"], do: " active")}" do %>
      <%= link "Events", to: event_path(@conn, :index), class: "nav-link" %>
    <% end %>
  </ul>

  <ul class="nav navbar-nav pull-xs-right">
    <%= content_tag :li, class: "nav-item" do %>
      <%= link "Login", to: session_path(@conn, :new), class: "btn btn-outline-success" %>
    <% end %>
  </ul>

</nav>
Add login button to navigation
Add login button to navigation
