Sha256: cfbfbb03b13e27f1e98c929c374fd686178d29a1a297ea6596002b670a27970c

Contents?: true

Size: 724 Bytes

Versions: 11

Compression:

Stored size: 724 Bytes

Contents

			<div id="user_nav" align="right">
<%
	if user_signed_in?
%>				<%= t('devise.sessions.signed_in_as') %> <b><%= current_user.email %></b>.&nbsp;&nbsp;&nbsp;<%= link_to t('devise.sessions.Logout'), destroy_user_session_path %>&nbsp;&nbsp;&nbsp;<%= link_to t('devise.registrations.edit'), edit_user_registration_path %><%
	else
%>				<%= link_to( t('devise.registrations.link'), new_user_registration_path ) %> <%= t('devise.sessions.or') %> <%= link_to( t('devise.sessions.link'), new_user_session_path ) %><%
	end

	if I18n.locale == :en
%> [&nbsp;en&nbsp;|&nbsp;<%= link_to 'fr', url_for(:locale => 'fr') %>&nbsp;]<%
	else
%> [&nbsp;<%= link_to 'en', url_for(:locale => 'en') %>&nbsp;|&nbsp;fr&nbsp;]<%
	end
%>
			</div>

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
devise_rails3_ennder-1.0.4 app/views/devise/shared/_user_nav.html.erb
devise_rails3_ennder-1.0.3 app/views/devise/shared/_user_nav.html.erb
devise_rails3_ennder-1.0.2 app/views/devise/shared/_user_nav.html.erb
devise_rails3_ennder-1.0.1 app/views/devise/shared/_user_nav.html.erb
devise_rails3_ennder-1.0.0 app/views/devise/shared/_user_nav.html.erb
devise_rails3_ennder-0.9.0 app/views/devise/shared/_user_nav.html.erb
devise_ennder-1.4.1.0.9 app/views/shared/_user_nav.html.erb
devise_ennder-1.3.1.0.9 app/views/shared/_user_nav.html.erb
devise_ennder-1.2.1.0.9 app/views/shared/_user_nav.html.erb
devise_ennder-1.1.1.0.9 app/views/shared/_user_nav.html.erb
devise_ennder-1.0.1.0.9 app/views/shared/_user_nav.html.erb