Sha256: ed35ec40bf9667912d3bc36e6d50ba66ca78000f74f9b16eef6902ab1123db54
Contents?: true
Size: 759 Bytes
Versions: 24
Compression:
Stored size: 759 Bytes
Contents
<%% if <%= model %>_signed_in? then %> <a class="dropdown-toggle" data-toggle="dropdown" href="#"> <i class="icon-user"></i> <%%= current_<%= model %>.caption %> <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="#"><%%= t(:profile, :default => "Profile") %></a></li> <li class="divider"></li> <li><%%= link_to t(:sign_out, :default => "Sign Out"), destroy_<%= model %>_session_path, :method => :delete %></li> </ul> <%% else %> <a class="dropdown-toggle" data-toggle="dropdown" href="#"> <i class="icon-user"></i> <%%= t(:login, :default => "Login") %> <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><%%= render :partial => "layouts/sign_in_form" %></li> </ul> <%% end %>
Version data entries
24 entries across 24 versions & 1 rubygems