.slider_container .slider - (1..4).to_a.each do |index| .slider_item style="background-image: url('/assets/slider_img#{index}.jpg')" .slider_container_wrapper .slider_container_content .slider_container_slogan = raw @structure.try(:main) / a.button href="/" = I18n.t :see_how_it_works, scope: [:layout, :button] .section.advantages .section_content - @children.each_with_index do |item, index| .advantage_item .icon = image_tag "advantages_icon#{index % 5 + 1}.png" .advantage_item_block = raw item.try(:main) = link_to I18n.t(:translate_now, scope: [:layout, :button]), new_order_path, class: 'button'