Sha256: 303cab4b396960144525657d3d7311a03db1887d894f24fc387c2d64dbb21072
Contents?: true
Size: 779 Bytes
Versions: 6
Compression:
Stored size: 779 Bytes
Contents
<% if current_user %> <ul class="nav navbar-nav navbar-right navbar-login-info"> <li class='dropdown'> <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-user"></span> <%= current_user.email %> <b class="caret"></b></a> <ul class="dropdown-menu"> <%= content_tag :li, link_to("<span class=\"glyphicon glyphicon-user\"></span> profile".html_safe, profile_path) %> <%= content_tag :li, link_to("<span class=\"glyphicon glyphicon-off\"></span> #{t('logout').downcase}".html_safe, logout_path) %> </ul> </li> </ul> <% else # not logged in %> <ul class="nav navbar-nav navbar-right"> <li><%= link_to(t('authentication.login_now'), email_input_path) %></li> </ul> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems