Sha256: fa0e9c3dea0a5f93ce7a2ec235e2fff2dd25f45462169c45c9f265b39b3134ab
Contents?: true
Size: 516 Bytes
Versions: 9
Compression:
Stored size: 516 Bytes
Contents
<% 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 %> <div class="row <%= promethee_class_for component %>"> <div class="col-xs-3"> <%= render 'promethee/show/image.srcset', blob: image_blob, alt: '', caption: '' if image_blob %> </div> <div class="col-xs-9"> <h4><%= title %></h4> <%= body.html_safe %> </div> </div>
Version data entries
9 entries across 9 versions & 1 rubygems