Filter languages with opt out (#3175)
* Remove allowed_languages and add filtered_languages * Use filtered_languages instead of allowed_languages
This commit is contained in:
committed by
Eugen Rochko
parent
2e112e2406
commit
8f4b7c1820
@ -12,7 +12,7 @@
|
||||
label_method: lambda { |locale| human_locale(locale) },
|
||||
selected: I18n.locale
|
||||
|
||||
= f.input :allowed_languages,
|
||||
= f.input :filtered_languages,
|
||||
collection: I18n.available_locales,
|
||||
wrapper: :with_label,
|
||||
include_blank: false,
|
||||
|
Reference in New Issue
Block a user