photomix/app/views/users/show.html.erb
Alexander Negoda e59d11e1c9 big update
2012-07-25 01:26:16 +04:00

42 lines
No EOL
567 B
Text

<p>
<b>Name:</b>
<%= @user.first_name %>
</p>
<p>
<b>Second Name:</b>
<%= @user.second_name %>
</p>
<p>
<b>Email:</b>
<%= @user.email %>
</p>
<p>
<b>Login count:</b>
<%= @user.sign_in_count %>
</p>
<p>
<b>Last login at:</b>
<%= @user.last_sign_in_at %>
</p>
<p>
<b>Current login at:</b>
<%= @user.current_sign_in_at %>
</p>
<p>
<b>Last login ip:</b>
<%= @user.last_sign_in_ip %>
</p>
<p>
<b>Current login ip:</b>
<%= @user.current_sign_in_ip %>
</p>
<%= link_to 'Edit', edit_account_path %>
<%= link_to 'Logout', logout_path %>