bug#2911:用超级管理员进入admin配置窗口,点击进入“用户列表”,搜索某用户,点击该用户,如图,用户动态中字被截断了

This commit is contained in:
yutao 2015-06-24 15:39:16 +08:00
parent 8ebfe57fe0
commit be9cf478e5
1 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,9 @@
<style type="text/css">
p.lablewidth>label{width:190px;}
</style>
<%= labelled_fields_for :pref, @user.pref do |pref_fields| %>
<p><%= pref_fields.check_box :hide_mail %></p>
<p style="width:520px;"><%= pref_fields.time_zone_select :time_zone, nil, :include_blank => true %></p>
<p style="width:477px;"><%= pref_fields.select :comments_sorting, [[l(:label_chronological_order), 'asc'], [l(:label_reverse_chronological_order), 'desc']] %></p>
<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>
<% end %>