<nav class="navbar navbar-inverse navbar-static-top" role="navigation">
  <div class="container-fluid">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navigation-bar">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
    </div>

    <div class="navbar-collapse collapse" id="main-navigation-bar">
      <ul class="nav navbar-nav">
        <% if @current_user.nil? %>
          <li>
            <%= link_to I18n.t('login.login'), login_users_path %>
          </li>
        <% else %>
          <li>
            <%= link_to @current_user.login, '#' %>
          </li>
        <% end %>
      </ul>
      <ul class="nav navbar-nav navbar-right">
        <li class="dropdown">
          <a class="dropdown-toggle" data-toggle="dropdown" href="#">
            <%= t('change_locale') %> <span class="caret"></span>
          </a>
          <ul class="dropdown-menu">
            <% I18n.available_locales.each do |locale| %>
              <li>
                <%= link_to locale, locale_path(locale: locale), data: { method: :put } %>
              </li>
            <% end %>
          </ul>
        </li>
      </ul>
    </div>
  </div>
</nav>


<nav class="navbar navbar-inverse navbar-static-top" role="navigation">
  <div class="container-fluid">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navigation-bar">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
    </div>

    <div class="navbar-collapse collapse" id="main-navigation-bar">
      <ul class="nav navbar-nav">
        <% if @current_user.nil? %>
          <li>
            <%= link_to I18n.t('login.login'), login_users_path %>
          </li>
          <li>
            <%= link_to I18n.t('users.signup'), new_user_path %>
          </li>
        <% else %>
          <li>
            <%= link_to @current_user.login, '#' %>
          </li>
        <% end %>
      </ul>
      <ul class="nav navbar-nav navbar-right">
        <li class="dropdown">
          <a class="dropdown-toggle" data-toggle="dropdown" href="#">
            <%= t('change_locale') %> <span class="caret"></span>
          </a>
          <ul class="dropdown-menu">
            <% I18n.available_locales.each do |locale| %>
              <li>
                <%= link_to locale, locale_path(locale: locale), data: { method: :put } %>
              </li>
            <% end %>
          </ul>
        </li>
      </ul>
    </div>
  </div>
</nav>


Bring back signup button in navigation bar
Bring back signup button in navigation bar
