Sha256: d9391b19b6ecb292198f868f205f24b9c4d8e9854fef510ace58e97057921bab

Contents?: true

Size: 779 Bytes

Versions: 1

Compression:

Stored size: 779 Bytes

Contents

<a href="#" class="dropdown-toggle" data-toggle="dropdown">
  <i class="glyphicon glyphicon-user"></i>
  <span><%= devise_resource_object.email %> <i class="caret"></i></span>
</a>
<ul class="dropdown-menu">
  <!-- User image -->
  <li class="user-header bg-light-blue">
    <p>
      <span class="color-white"><%= devise_resource_object.email %></span>
      <small>Last login: <%= devise_resource_object.last_sign_in_at.in_time_zone if devise_resource_object.last_sign_in_at.present? %></small>
    </p>
  </li>
  <!-- Menu Footer-->
  <li class="user-footer">
    <div class="pull-left"></div>
    <div class="pull-right">
      <%= link_to 'Sign Out', destroy_session_path(devise_resource_name), class: 'btn btn-default btn-flat', method: :delete %>
    </div>
  </li>
</ul>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devise_users-0.0.1 app/views/devise_users/shared/_user_bar.html.erb