Sha256: b0b9bbe082abd0ffe4a3b1d76f517bb758842ed7aaa2c74cda2deebfbbb800a2
Contents?: true
Size: 623 Bytes
Versions: 36
Compression:
Stored size: 623 Bytes
Contents
<% blob_data = component[:attributes][:blob] if blob_data && blob_data[:id] blob = ActiveStorage::Blob.find blob_data[:id] end surtitle = component[:attributes][:surtitle].to_s title = component[:attributes][:title].to_s subtitle = component[:attributes][:subtitle].to_s %> <div class="<%= promethee_class_for(component) %>" style="background-image: url(<%= url_for(blob.variant(resize: '1920')) if blob %>)"> <% if surtitle.present? %> <p><%= surtitle %></p> <% end %> <% if title.present? %> <h1><%= title %></h1> <% end %> <% if subtitle.present? %> <p><%= subtitle %></p> <% end %> </div>
Version data entries
36 entries across 36 versions & 1 rubygems