<div class="header py-4">
  <div class="container">
    <div class="d-flex">

      <a class="header-brand" href="<%= root_url %>">
        Chaskiq
        <!--<img src="./demo/brand/tabler.svg" class="header-brand-img" alt="tabler logo">-->
      </a>

      <div class="d-flex order-lg-2 ml-auto">
        
        <% if current_user.present? %>
          <div class="dropdown">
            <a href="#" class="nav-link pr-0 leading-none" data-toggle="dropdown">
              <span class="avatar" style="background-image: url('')"></span>
              <span class="ml-2 d-none d-lg-block">
                <span class="text-default">
                  <%= current_user.email %>
                </span>
                
                  <small class="text-muted d-block mt-1">Administrator</small>
             
              </span>
            </a>

            <div class="dropdown-menu dropdown-menu-right dropdown-menu-arrow">
                <a class="dropdown-item" href="#">
                  <i class="dropdown-icon fe fe-log-out"></i>
                  Sign out
                </a>
            </div>
          </div>
        <% end %>

      </div>

      <a href="#" class="header-toggler d-lg-none ml-3 ml-lg-0" data-toggle="collapse" data-target="#headerMenuCollapse">
        <span class="header-toggler-icon"></span>
      </a>
    </div>
  </div>
</div>
<div class="header collapse d-lg-flex p-0" id="headerMenuCollapse">
  <div class="container">
    <div class="row align-items-center">
      <div class="col-lg order-lg-first">

        <ul class="nav nav-tabs border-0 flex-column flex-lg-row">
          
 
            <li class="nav-item">
              <a class="nav-link" href="">
                <i class="fas fa-newspaper"></i>
                Campaigns
              </a>
            </li>

            <li class="nav-item">
              <a class="nav-link" href="">
                <i class="fas fa-address-card"></i>
                Lists
              </a>
            </li>

            <li class="nav-item">
              <a class="nav-link" href="">
                <i class="fas fa-object-group"></i>
                Templates
              </a>
            </li>

            <li class="separator"></li>
            
        </ul>
      </div>
    </div>
  </div>
</div>