summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/my/account.html.erb1
-rw-r--r--app/views/users/_form.html.erb1
2 files changed, 2 insertions, 0 deletions
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 @@
<fieldset class="box tabular">
<legend><%=l(:label_preferences)%></legend>
<%= render :partial => 'users/preferences' %>
+ <%= call_hook(:view_my_account_preferences, :user => @user, :form => f) %>
</fieldset>
</div>
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 @@
<fieldset class="box tabular">
<legend><%=l(:label_preferences)%></legend>
<%= render :partial => 'users/preferences' %>
+ <%= call_hook(:view_users_form_preferences, :user => @user, :form => f) %>
</fieldset>
</div>
</div>