Update references to new translation interface

This commit is contained in:
Senén Rodero Rodríguez
2019-05-31 18:08:59 +02:00
parent 140c37fcc0
commit 146c09adb7
25 changed files with 25 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
<%= render "admin/shared/globalize_locales", resource: @draft_version %>
<%= render "shared/globalize_locales", resource: @draft_version %>
<%= translatable_form_for [:admin, @process, @draft_version], url: url, html: {data: {watch_changes: true}} do |f| %>

View File

@@ -1,4 +1,4 @@
<%= render "admin/shared/globalize_tabs",
<%= render "shared/globalize_locales",
resource: @process,
display_style: lambda { |locale| enable_translation_style(@process, locale) } %>

View File

@@ -1,4 +1,4 @@
<%= render "admin/shared/globalize_tabs",
<%= render "shared/globalize_locales",
resource: @process,
display_style: lambda { |locale| enable_translation_style(@process, locale) } %>

View File

@@ -1,4 +1,4 @@
<%= render "admin/shared/globalize_locales", resource: @process %>
<%= render "shared/globalize_locales", resource: @process %>
<%= translatable_form_for [:admin, @process], html: {data: {watch_changes: true}} do |f| %>

View File

@@ -1,4 +1,4 @@
<%= render "admin/shared/globalize_locales", resource: @question %>
<%= render "shared/globalize_locales", resource: @question %>
<%= translatable_form_for [:admin, @process, @question], url: url, html: {data: {watch_changes: true}} do |f| %>