% para_all.each_with_index do |paragraph,index| %>
" style="background: transparent url(<%= image_path(paragraph.image.url) %>) no-repeat 50% 0;">
<% if paragraph.title.present? %>
<%= paragraph.title %>
<% end %>
<%= paragraph.content.html_safe %>
<% end %>