We're choosing the default `with_first_argument` style because it's the one we use the most.
7 lines
311 B
Plaintext
7 lines
311 B
Plaintext
<% if translations_interface_enabled? %>
|
|
<%= render "shared/common_globalize_locales",
|
|
resource: resource,
|
|
display_style: lambda { |locale| enable_translation_style(resource, locale) },
|
|
manage_languages: defined?(manage_languages) ? manage_languages : true %>
|
|
<% end %>
|