Render translation interface only when feature setting is active
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
<% if translations_interface_enabled? %>
|
||||
<%= render "shared/common_globalize_locales",
|
||||
resource: resource,
|
||||
display_style: lambda { |locale| enable_translation_style(resource, locale) } %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user