Sha256: fcec7e221c5885fdfc04977036252e81b7ff1ded002ed58510d63a6df18b31fa

Contents?: true

Size: 507 Bytes

Versions: 6

Compression:

Stored size: 507 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"><%= current_user.email %> <b class="caret"></b></a>
    	<ul class="dropdown-menu">
    		<%= content_tag :li, link_to(t('logout'), logout_path) %>
    	</ul>
    </li>
  </ul>
<% else %>
  <ul class="nav navbar-nav navbar-right">
    <%= content_tag :li, link_to(t('authentication.login_now'), email_input_path) %>
  </ul>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tkh_authentication-0.9.12 app/views/shared/_login_info_for_navbar.html.erb
tkh_authentication-0.9.11 app/views/shared/_login_info_for_navbar.html.erb
tkh_authentication-0.9.10 app/views/shared/_login_info_for_navbar.html.erb
tkh_authentication-0.9.9 app/views/shared/_login_info_for_navbar.html.erb
tkh_authentication-0.9.8 app/views/shared/_login_info_for_navbar.html.erb
tkh_authentication-0.9.7 app/views/shared/_login_info_for_navbar.html.erb