Skip to content
Snippets Groups Projects
Commit a50a8745 authored by AA4ch1's avatar AA4ch1 Committed by Matt Jankowski
Browse files

Fix language selector on preferences page (#2794)

parent 566e0a77
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,12 @@
= render 'shared/error_messages', object: current_user
.fields-group
= f.input :locale, collection: I18n.available_locales, wrapper: :with_label, include_blank: false, label_method: lambda { |locale| human_locale(locale) }
= f.input :locale,
collection: I18n.available_locales,
wrapper: :with_label,
include_blank: false,
label_method: lambda { |locale| human_locale(locale) },
selected: I18n.locale
= f.input :allowed_languages,
collection: I18n.available_locales,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment