summaryrefslogtreecommitdiffstats
path: root/app/views/users
diff options
context:
space:
mode:
authorEtienne Massip <etienne.massip@gmail.com>2012-06-01 13:38:03 +0000
committerEtienne Massip <etienne.massip@gmail.com>2012-06-01 13:38:03 +0000
commit121ce2a3900cd9fcb67df7fbcb7bd660d3251f79 (patch)
treef91514ad3482cb9b01ee89797512d5c86ba10397 /app/views/users
parentfc7b790081af8118ae7f82c3a5e775e8d85e67ec (diff)
downloadredmine-121ce2a3900cd9fcb67df7fbcb7bd660d3251f79.tar.gz
redmine-121ce2a3900cd9fcb67df7fbcb7bd660d3251f79.zip
Use time_zone_select specific helper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9744 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/users')
-rw-r--r--app/views/users/_preferences.html.erb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/users/_preferences.html.erb b/app/views/users/_preferences.html.erb
index 26e83b123..fb19bb3e5 100644
--- a/app/views/users/_preferences.html.erb
+++ b/app/views/users/_preferences.html.erb
@@ -1,7 +1,6 @@
<%= labelled_fields_for :pref, @user.pref do |pref_fields| %>
<p><%= pref_fields.check_box :hide_mail %></p>
-<p><%= pref_fields.select :time_zone, ActiveSupport::TimeZone.all.collect {|z| [ z.to_s, z.name ]}, :include_blank => true %></p>
+<p><%= pref_fields.time_zone_select :time_zone, nil, :include_blank => true %></p>
<p><%= pref_fields.select :comments_sorting, [[l(:label_chronological_order), 'asc'], [l(:label_reverse_chronological_order), 'desc']] %></p>
<p><%= pref_fields.check_box :warn_on_leaving_unsaved %></p>
<% end %>
-