Skip to content
Snippets Groups Projects
Commit 9d790fec authored by alexisben's avatar alexisben
Browse files

Fix static indentation

parent 2160eee1
No related branches found
No related tags found
No related merge requests found
......@@ -9,16 +9,16 @@
<% end %>
button:
text: >-
<%= prepare_text_for_static block.template.button %>
<%= prepare_text_for_static block.template.button, 5 %>
url: >-
<%= prepare_text_for_static block.template.url %>
<%= prepare_text_for_static block.template.url, 5 %>
button_secondary:
text: >-
<%= prepare_text_for_static block.template.button_secondary %>
<%= prepare_text_for_static block.template.button_secondary, 5 %>
url: >-
<%= prepare_text_for_static block.template.url_secondary %>
<%= prepare_text_for_static block.template.url_secondary, 5 %>
button_tertiary:
text: >-
<%= prepare_text_for_static block.template.button_tertiary %>
<%= prepare_text_for_static block.template.button_tertiary, 5 %>
url: >-
<%= prepare_text_for_static block.template.url_tertiary %>
<%= prepare_text_for_static block.template.url_tertiary, 5 %>
......@@ -3,10 +3,10 @@
- id: "<%= image.blob.id %>"
file: "<%= image.blob.id %>"
alt: >
<%= prepare_text_for_static image.alt %>
<%= prepare_text_for_static image.alt, 6 %>
credit: >
<%= prepare_text_for_static image.credit %>
<%= prepare_text_for_static image.credit, 6 %>
text: >
<%= prepare_text_for_static image.text %>
<%= prepare_text_for_static image.text, 6 %>
<% end %>
......@@ -2,6 +2,6 @@
block.template.persons_with_role.each do |person_with_role|
person = person_with_role.person %>
- slug: "<%= person.slug %>"
role: >
<%= prepare_text_for_static person_with_role.role %>
role: >-
<%= prepare_text_for_static person_with_role.role, 5 %>
<% end %>
......@@ -3,9 +3,9 @@
- slug: "<%= partner.organization.slug %>"
<% else %>
- name: >
<%= prepare_text_for_static partner['name'] %>
<%= prepare_text_for_static partner['name'], 5 %>
url: >-
<%= prepare_text_for_static partner['url'] %>
<%= prepare_text_for_static partner['url'], 5 %>
logo: "<%= partner.blob&.id %>"
<% end %>
<% end %>
testimonials:
<% block.template.testimonials.each do |testimonial| %>
- text: >-
<%= prepare_text_for_static testimonial.text %>
<%= prepare_text_for_static testimonial.text, 6 %>
author: >-
<%= prepare_text_for_static testimonial.author %>
<%= prepare_text_for_static testimonial.author, 6 %>
job: >-
<%= prepare_text_for_static testimonial.job %>
<%= prepare_text_for_static testimonial.job, 6 %>
<% if testimonial.blob %>
photo: "<%= testimonial.blob.id %>"
<% end %>
......
url: >-
<%= prepare_text_for_static block.template.url %>
<%= prepare_text_for_static block.template.url, 4 %>
transcription: >-
<%= prepare_text_for_static block.template.transcription, 4 %>
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