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:
parent
2e112e2406
commit
8f4b7c1820
21 changed files with 30 additions and 41 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue