summaryrefslogtreecommitdiffstats
path: root/app/views/my/account.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/my/account.rhtml')
-rw-r--r--app/views/my/account.rhtml19
1 files changed, 11 insertions, 8 deletions
diff --git a/app/views/my/account.rhtml b/app/views/my/account.rhtml
index c884de841..8250c5298 100644
--- a/app/views/my/account.rhtml
+++ b/app/views/my/account.rhtml
@@ -1,13 +1,5 @@
<h2><%=l(:label_my_account)%></h2>
-<p><%=l(:field_login)%>: <strong><%= @user.login %></strong>
-<br /><%=l(:field_created_on)%>: <%= format_time(@user.created_on) %>
-<% if @user.rss_token %>
-<br /><%= l(:label_feeds_access_key_created_on, distance_of_time_in_words(Time.now, @user.rss_token.created_on)) %>
-(<%= link_to l(:button_reset), {:action => 'reset_rss_key'}, :method => :post %>)
-<% end %>
-</p>
-
<%= error_messages_for 'user' %>
<div class="box">
@@ -50,3 +42,14 @@
<% end %>
</div>
<% end %>
+
+<% content_for :sidebar do %>
+ <h3><%=l(:label_my_account)%></h3>
+
+ <p><%=l(:field_login)%>: <strong><%= @user.login %></strong><br />
+ <%=l(:field_created_on)%>: <%= format_time(@user.created_on) %></p>
+ <% if @user.rss_token %>
+ <p><%= l(:label_feeds_access_key_created_on, distance_of_time_in_words(Time.now, @user.rss_token.created_on)) %>
+ (<%= link_to l(:button_reset), {:action => 'reset_rss_key'}, :method => :post %>)</p>
+ <% end %>
+<% end %>