Sha256: 4904a8effffa418e17c0847684eb5786b22d27037ce1a84cd50403e17ae102d8
Contents?: true
Size: 1.4 KB
Versions: 32
Compression:
Stored size: 1.4 KB
Contents
<div class="row"> <div class="col"> <% section.testimonials&.each do |testimonial| next unless testimonial %> <div class="section-testimonials__item"> <% if testimonial.photo %> <div class="section-testimonials__item-sidebar" style="background-image: url(<%= testimonial.photo.file.url %>);"> </div> <% end %> <div class="section-testimonials__item-card"> <% if testimonial.quote.present? %> <div class="section-testimonials__item-card-quote safe-line-break"><%= safe_line_break(testimonial.quote) %></div> <% end %> <div class="section-testimonials__item-card-meta"> <% if testimonial.photo %> <%= image_tag(testimonial.photo.file.url, alt: testimonial.photo.description || testimonial.photo.title, class: 'section-testimonials__item-card-meta-photo') %> <% end %> <h3 class="section-testimonials__item-card-meta-name"> <%= testimonial.name %> </h3> <% if testimonial.mini_bio %> <div class="section-testimonials__item-card-meta-bio"> <%= markdown(testimonial.mini_bio) %> </div> <% end %> </div> </div> </div><!--quotation--> <% end %> </div><!--column--> </div><!--row-->
Version data entries
32 entries across 32 versions & 1 rubygems