Sha256: c91f8622a67fd379269d3477d201b935cb440a5ba66534d8a39cba3f8b1c7c9c
Contents?: true
Size: 1.58 KB
Versions: 1
Compression:
Stored size: 1.58 KB
Contents
<header id='header' class='hidden-print'> <nav class="navbar navbar-fixed-top" role="navigation"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <%= link_to 'georgia', georgia.root_url, class: 'navbar-brand' %> </div> <% if signed_in? %> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav"> <li> <%= link_to 'Visit your website', main_app.root_url, class: 'header-link' %> </li> </ul> <ul class="nav navbar-nav navbar-right"> <% if can? :index, Georgia::User %> <li> <%= link_to icon_tag('users'), georgia.users_path, class: 'header-link--icon' %> </li> <% end -%> <li class='dropdown'> <%= link_to '#', class: 'dropdown-toggle header-link', data: {toggle: 'dropdown'} do %> <%= image_tag avatar_url(current_user.email, size: 25), alt: '' %> <span><%= current_user.name %></span> <%= content_tag(:b, nil, class: 'caret') %> <% end -%> <ul class="dropdown-menu"> <li><%= link_to('Logout', georgia.destroy_user_session_path, method: :delete) %></li> </ul> </li> </ul> </div> <% end -%> </nav> </header>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
georgia-0.7.8 | app/views/layouts/georgia/_header.html.erb |