From 38fdde0997aacfd54b845483a248e0ff1427151c Mon Sep 17 00:00:00 2001 From: wanglinchun <123@163.com> Date: Tue, 13 Aug 2013 00:22:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=88=91=E7=9A=84=E8=B4=A6?= =?UTF-8?q?=E6=88=B7=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/my/account.html.erb | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/app/views/my/account.html.erb b/app/views/my/account.html.erb index cdbe4cf8..e94a526b 100644 --- a/app/views/my/account.html.erb +++ b/app/views/my/account.html.erb @@ -1,4 +1,5 @@
+ <%= link_to(l(:button_change_password), {:action => 'password'}, :class => 'icon icon-passwd') if @user.change_password_allowed? %> <%= call_hook(:view_my_account_contextual, :user => @user)%>
@@ -51,24 +52,7 @@ <% end %> <%= call_hook(:view_my_account, :user => @user, :form => f) %> - -
- - +