Sha256: 0fdc59a6ec4354ba5eff5f49e7591791581f69bfb0c51fc1c493748262a031b1
Contents?: true
Size: 645 Bytes
Versions: 271
Compression:
Stored size: 645 Bytes
Contents
<% if object.image_url.present? %> <%= content_tag(object.tag, aria: object.aria, data: object.data, id: object.id, class: object.classname, style: "background-image: url('#{object.image_url}'); background-repeat: #{object.background_repeat}; background-size: #{object.background_size};" ) do %> <%= content.presence %> <% end %> <% else %> <%= content_tag(object.tag, aria: object.aria, data: object.data, id: object.id, class: object.classname, style: object.custom_background_color ) do %> <%= content.presence %> <% end %> <% end %>
Version data entries
271 entries across 271 versions & 1 rubygems