Sha256: 351f44b003e2af029d5a7a56a09150c658cc55d2f8c4e7ab15798eb72688109d
Contents?: true
Size: 717 Bytes
Versions: 6
Compression:
Stored size: 717 Bytes
Contents
<ul id='generated_login_links'> <%% if !current_user %> <% if @has_facebook_oauth %> <li><%%= link_to('Login With Facebook', users_path(:warden_oauth2_provider => 'facebook')) %></li> <% end %> <% if @has_twitter_oauth %> <li><%%= link_to('Login With Twitter', users_path(:warden_oauth_provider => 'twitter')) %></li> <% end %> <% if @has_standard_authentication %> <li><%%= link_to('Login', user_session_path()) %></li> <li><%%= link_to('Register', new_user_registration_path()) %></li> <% end %> <%% else %> <li>Welcome <%%= current_user.display_name %></li> <li><%%= link_to('Logout', destroy_user_session_path()) %></li> <%% end %> </ul> <%%= render 'shared/admin_nav' %>
Version data entries
6 entries across 6 versions & 1 rubygems