diff --git a/app/views/users/_impaired_settings.html.erb b/app/views/users/_impaired_settings.html.erb index 938eeb27e7..f90d25065a 100644 --- a/app/views/users/_impaired_settings.html.erb +++ b/app/views/users/_impaired_settings.html.erb @@ -1,4 +1,4 @@ -<% fields_for :pref, @user.pref, :lang => current_language do |pref_fields| %> +<%= fields_for :pref, @user.pref, :lang => current_language do |pref_fields| %>
<%= pref_fields.label(:impaired, t(:field_impaired, :app_title => Setting.app_title))%> <%= pref_fields.check_box :impaired %> diff --git a/app/views/users/_preferences.html.erb b/app/views/users/_preferences.html.erb index 57f050b102..562f4adada 100644 --- a/app/views/users/_preferences.html.erb +++ b/app/views/users/_preferences.html.erb @@ -1,4 +1,4 @@ -<% fields_for :pref, @user.pref, :builder => TabularFormBuilder, :lang => current_language do |pref_fields| %> +<%= fields_for :pref, @user.pref, :builder => TabularFormBuilder, :lang => current_language do |pref_fields| %>
<%= pref_fields.check_box :hide_mail %>
<%= pref_fields.select :time_zone, ActiveSupport::TimeZone.all.collect {|z| [ z.to_s, z.name ]}, :include_blank => true %>
<%= pref_fields.select :comments_sorting, [[l(:label_chronological_order), 'asc'], [l(:label_reverse_chronological_order), 'desc']] %>