fix #1118 for the second issue. When you edit your preferences, the selected language was not set to what you had saved

This commit is contained in:
Reinier Balt 2011-03-07 16:44:43 +01:00
parent 9f7d5f3cab
commit 2408ba4358

View file

@ -30,7 +30,7 @@
table_row(pref_name, nowrap_label) { text_field('prefs', pref_name) }
end
%>
<%= row_with_select_field('locale', I18n.available_locales) %>
<%= row_with_select_field('locale', I18n.available_locales.map {|l| l.to_s}) %>
<%= row_with_text_field('date_format') %>
<%= row_with_text_field('title_date_format') %>
<%= table_row('time_zone', false) { time_zone_select('prefs','time_zone') } %>