diff --git a/app/views/admin/communication/blocks/components/image/_edit.html.erb b/app/views/admin/communication/blocks/components/image/_edit.html.erb index 57d980fcac91039d7a6c09b3fa7e850cecf645d7..102b526a5bbed5536ea9b183fd986fa28d525dd9 100644 --- a/app/views/admin/communication/blocks/components/image/_edit.html.erb +++ b/app/views/admin/communication/blocks/components/image/_edit.html.erb @@ -1,6 +1,6 @@ <% template_kind = @block.template_kind -i18n ||= "admin.communication.blocks.templates.#{template_kind}.edit" +i18n = "admin.communication.blocks.templates.#{template_kind}.edit" template ||= @block.template root_template = template == @block.template if root_template