Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (18 sloc) 0.654 kb
<ul class="nav pills pull-right">
<li>
<div class="social"> <%= fb_like(Setting.domain) %> </div>
</li>
<% if current_user %>
<li class="dropdown">
<%= link_to "/accoount" , :class => "dropdown-toggle", :data => { :toogle => "dropdown" } do %>
<%= current_user.email %>
<% end %>
<%= render_list :class => "dropdown-menu" do |li|
li << link_to("Logout",destroy_user_session_path, :method => :delete )
end %>
</li>
<% else %>
<li> <%= link_to( "Sing Up" ,new_user_registration_path) %> </li>
<li> <%= link_to( "Login", new_user_session_path ) %> </li>
<% end %>
</ul>
Jump to Line
Something went wrong with that request. Please try again.