forked from binarylogic/authlogic_example
-
Notifications
You must be signed in to change notification settings - Fork 1
/
show.html.erb
52 lines (44 loc) · 799 Bytes
/
show.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!--
The following is for OpenID, if you are not using OpenID in your app remove
the OpenID if statement and field below.
-->
<% if @user.openid_identifier.blank? %>
<p>
<b>Login:</b>
<%=h @user.login %>
</p>
<% else %>
<p>
<b>OpenID:</b>
<%=h @user.openid_identifier %>
</p>
<% end %>
<p>
<b>Email:</b>
<%=h @user.email %>
</p>
<p>
<b>Login count:</b>
<%=h @user.login_count %>
</p>
<p>
<b>Last request at:</b>
<%=h @user.last_request_at %>
</p>
<p>
<b>Last login at:</b>
<%=h @user.last_login_at %>
</p>
<p>
<b>Current login at:</b>
<%=h @user.current_login_at %>
</p>
<p>
<b>Last login ip:</b>
<%=h @user.last_login_ip %>
</p>
<p>
<b>Current login ip:</b>
<%=h @user.current_login_ip %>
</p>
<%= link_to 'Edit', edit_account_path %>