Skip to content
Snippets Groups Projects
Commit 518bb296 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

testimonials

parent b95ebb31
No related branches found
No related tags found
No related merge requests found
<% if list %>
<%= indentation %>- <%= property %>: >-
<%= indentation %> <%= prepare_html_for_static value, @university, depth + 2 %>
<% else %>
<%= indentation %><%= property %>: >-
<%= indentation %> <%= prepare_html_for_static value, @university %>
\ No newline at end of file
<%= indentation %> <%= prepare_html_for_static value, @university %>
<% end %>
<% if list %>
<%= indentation %>- <%= property %>: >-
<%= indentation %> <%= prepare_text_for_static value, depth + 2 %>
<% else %>
<%= indentation %><%= property %>: >-
<%= indentation %> <%= prepare_text_for_static value, depth + 1 %>
\ No newline at end of file
<%= indentation %> <%= prepare_text_for_static value, depth + 1 %>
<% end %>
testimonials:
<% block.template.elements.each do |element| %>
<%= 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 %>
<%= block_component_static :author, template: element, depth: 5 %>
<%= block_component_static :job, template: element, depth: 5 %>
<%= block_component_static :photo, template: element, depth: 5 if element.photo %>
<% 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