photomix/app/views/users/show.html.erb

42 lines
567 B
Plaintext
Raw Normal View History

2009-06-02 00:08:57 +02:00
<p>
<b>Name:</b>
2012-07-24 23:26:16 +02:00
<%= @user.first_name %>
</p>
<p>
<b>Second Name:</b>
<%= @user.second_name %>
2009-06-02 00:08:57 +02:00
</p>
<p>
<b>Email:</b>
2012-07-24 23:26:16 +02:00
<%= @user.email %>
2009-06-02 00:08:57 +02:00
</p>
2009-05-22 16:14:07 +02:00
<p>
<b>Login count:</b>
2012-07-24 23:26:16 +02:00
<%= @user.sign_in_count %>
2009-05-22 16:14:07 +02:00
</p>
2012-07-24 23:26:16 +02:00
2009-05-22 16:14:07 +02:00
<p>
<b>Last login at:</b>
2012-07-24 23:26:16 +02:00
<%= @user.last_sign_in_at %>
2009-05-22 16:14:07 +02:00
</p>
2012-07-24 23:26:16 +02:00
2009-05-22 16:14:07 +02:00
<p>
<b>Current login at:</b>
2012-07-24 23:26:16 +02:00
<%= @user.current_sign_in_at %>
2009-05-22 16:14:07 +02:00
</p>
2012-07-24 23:26:16 +02:00
2009-05-22 16:14:07 +02:00
<p>
<b>Last login ip:</b>
2012-07-24 23:26:16 +02:00
<%= @user.last_sign_in_ip %>
2009-05-22 16:14:07 +02:00
</p>
2012-07-24 23:26:16 +02:00
2009-05-22 16:14:07 +02:00
<p>
<b>Current login ip:</b>
2012-07-24 23:26:16 +02:00
<%= @user.current_sign_in_ip %>
2009-05-22 16:14:07 +02:00
</p>
2012-07-24 23:26:16 +02:00
2009-06-09 00:30:22 +02:00
<%= link_to 'Edit', edit_account_path %>
<%= link_to 'Logout', logout_path %>