<% title = component[:attributes][:searchable_title].to_s body = component[:attributes][:searchable_body].to_s image = component[:attributes][:image] if image && image[:id] image_blob = ActiveStorage::Blob.find image[:id] end %>
<% if image_blob %>
<%= body.html_safe %>
<%= render 'promethee/show/image.srcset', blob: image_blob, alt: '', caption: '' %>
<% else %> <%= body.html_safe %> <% end %>