<% 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 %>
<%= render 'promethee/show/image.srcset', blob: image_blob, alt: '', caption: '' if image_blob %>

<%= title %>

<%= body.html_safe %>