Sha256: e8e0fe3d214f1c9bce3af73f2e85b68ab32cb8e9bdfccc7be99f7555d2f5aa7d
Contents?: true
Size: 809 Bytes
Versions: 16
Compression:
Stored size: 809 Bytes
Contents
<% image_data = component[:attributes][:image] if image_data && image_data[:id] blob = ActiveStorage::Blob.find image_data[:id] end searchable_surtitle = component[:attributes][:searchable_surtitle].to_s searchable_title = component[:attributes][:searchable_title].to_s searchable_subtitle = component[:attributes][:searchable_subtitle].to_s %> <div id="component-<%= image_data[:id] %>" class="<%= promethee_class_for(component) %>" style="background-image: url(<%= url_for(blob.variant(resize: 1920, quality: 95)) if blob %>)"> <% if searchable_surtitle.present? %> <p><%= searchable_surtitle %></p> <% end %> <% if searchable_title.present? %> <h1><%= searchable_title %></h1> <% end %> <% if searchable_subtitle.present? %> <p><%= searchable_subtitle %></p> <% end %> </div>
Version data entries
16 entries across 16 versions & 1 rubygems