2012-04-25 21:17:49 +04:00
|
|
|
<%= labelled_fields_for :pref, @user.pref do |pref_fields| %>
|
2010-09-29 02:13:06 +04:00
|
|
|
<p><%= pref_fields.check_box :hide_mail %></p>
|
2012-06-01 17:38:03 +04:00
|
|
|
<p><%= pref_fields.time_zone_select :time_zone, nil, :include_blank => true %></p>
|
2010-09-29 02:13:06 +04:00
|
|
|
<p><%= pref_fields.select :comments_sorting, [[l(:label_chronological_order), 'asc'], [l(:label_reverse_chronological_order), 'desc']] %></p>
|
2011-02-21 12:53:29 +03:00
|
|
|
<p><%= pref_fields.check_box :warn_on_leaving_unsaved %></p>
|
2010-09-29 02:13:06 +04:00
|
|
|
<% end %>
|