Skip to content
Snippets Groups Projects
Unverified Commit 4aca3a83 authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

remove blocks, contents remaining

parent 0b10a161
No related branches found
No related tags found
No related merge requests found
......@@ -8,14 +8,3 @@ contents:
<% about.headings.root.ordered.each do |heading| %>
<%= render 'admin/communication/blocks/headings/static', heading: heading %>
<% end %>
<% if about.blocks.any? %>
blocks:
<% about.blocks.published.ordered.each do |block| %>
- template: <%= block.template_kind %>
title: >-
<%= prepare_text_for_static block.title, 3 %>
position: <%= block.position %>
data:
<%= render "admin/communication/blocks/templates/#{block.template_kind}/static",
block: block, about: about if block.data && block.data.present? %><% end %>
<% end %>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment