diff --git a/app/views/admin/communication/blocks/templates/call_to_action/_static.html.erb b/app/views/admin/communication/blocks/templates/call_to_action/_static.html.erb index 7fedc45db75995191349ecb801e24e0fd0017bd6..a1a67ce092a102402f5e9f040f743ad29da0aa33 100644 --- a/app/views/admin/communication/blocks/templates/call_to_action/_static.html.erb +++ b/app/views/admin/communication/blocks/templates/call_to_action/_static.html.erb @@ -4,7 +4,7 @@ <%= block_component_static :credit %> buttons: <% block.template.elements.each do |element| %> -<%= block_component_static :title, template: element, depth: 4, list: true %> +<%= block_component_static :title, template: element, list: true, depth: 4 %> <%= block_component_static :url, template: element, depth: 5 %> <%= block_component_static :target_blank, template: element, depth: 5 %> diff --git a/app/views/admin/communication/blocks/templates/testimonials/_static.html.erb b/app/views/admin/communication/blocks/templates/testimonials/_static.html.erb index 131f31557397b7b8f51ddfb0d733b54a27208c4e..b46aa56c7da55e85f98407442bbf1c072a14b08e 100644 --- a/app/views/admin/communication/blocks/templates/testimonials/_static.html.erb +++ b/app/views/admin/communication/blocks/templates/testimonials/_static.html.erb @@ -1,10 +1,9 @@ testimonials: <% block.template.elements.each do |element| %> -<%= block_component_static :text, template: element, list: true %> +<%= block_component_static :text, template: element, depth: 4, list: true %> <%= block_component_static :author, template: element, depth: 4 %> <%= block_component_static :job, template: element, depth: 4 %> <% if element.photo %> <%= block_component_static :photo, template: element, depth: 4 %> <% end %> - <% end %> diff --git a/app/views/admin/communication/blocks/templates/timeline/_static.html.erb b/app/views/admin/communication/blocks/templates/timeline/_static.html.erb index 6cc2acd2ab8794a8c9d8c5667a6fe34e5cceab1e..1c59a843eef85344bec6a072896abe84efde168f 100644 --- a/app/views/admin/communication/blocks/templates/timeline/_static.html.erb +++ b/app/views/admin/communication/blocks/templates/timeline/_static.html.erb @@ -1,4 +1,4 @@ <% block.template.elements.each do |element| %> -<%= block_component_static :title, template: element, depth: 4 %> +<%= block_component_static :title, template: element, depth: 3, list: true %> <%= block_component_static :text, template: element, depth: 4 %> <% end %>