socialforge/app/views/users/_preferences.html.erb

10 lines
512 B
Plaintext
Raw Normal View History

<style type="text/css">
p.lablewidth>label{width:190px;}
</style>
2013-08-01 10:33:49 +08:00
<%= labelled_fields_for :pref, @user.pref do |pref_fields| %>
<p class="lablewidth"><%= pref_fields.check_box :hide_mail %></p>
<p class="lablewidth" style="width:520px;"><%= pref_fields.time_zone_select :time_zone, nil, :include_blank => true %></p>
<p class="lablewidth" style="width:477px;"><%= pref_fields.select :comments_sorting, [[l(:label_chronological_order), 'asc'], [l(:label_reverse_chronological_order), 'desc']] %></p>
2013-08-12 17:30:31 +08:00
2013-08-01 10:33:49 +08:00
<% end %>