Sha256: 02442fb10a29cdad53b1211244a0d0cff0d070d7af175390eb9412f02254e016

Contents?: true

Size: 564 Bytes

Versions: 9

Compression:

Stored size: 564 Bytes

Contents

<ul class="nav pills pull-right">
  <% 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>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bootstrappers-0.0.9 templates/common/_user_nav.html.erb
bootstrappers-0.0.8 templates/common/_user_nav.html.erb
bootstrappers-0.0.7 templates/common/_user_nav.html.erb
bootstrappers-0.0.6 templates/common/_user_nav.html.erb
bootstrappers-0.0.5 templates/common/_user_nav.html.erb
bootstrappers-0.0.4 templates/common/_user_nav.html.erb
bootstrappers-0.0.3 templates/common/_user_nav.html.erb
bootstrappers-0.0.2 templates/common/_user_nav.html.erb
bootstrappers-0.0.1 templates/common/_user_nav.html.erb