diff --git a/app/views/my/account.html.erb b/app/views/my/account.html.erb index 47e945949..8ec3a8dc9 100644 --- a/app/views/my/account.html.erb +++ b/app/views/my/account.html.erb @@ -39,6 +39,7 @@
<%=l(:label_preferences)%> <%= render :partial => 'users/preferences' %> + <%= call_hook(:view_my_account_preferences, :user => @user, :form => f) %>
diff --git a/app/views/users/_form.html.erb b/app/views/users/_form.html.erb index bb762c1ee..e90095827 100644 --- a/app/views/users/_form.html.erb +++ b/app/views/users/_form.html.erb @@ -46,6 +46,7 @@
<%=l(:label_preferences)%> <%= render :partial => 'users/preferences' %> + <%= call_hook(:view_users_form_preferences, :user => @user, :form => f) %>