Sha256: fb4124c8e9d75f780cec421442a2f5431033d353ef84b8ec273a15195831413c
Contents?: true
Size: 450 Bytes
Versions: 2
Compression:
Stored size: 450 Bytes
Contents
<%= content_tag(object.tag, aria: object.aria, data: object.data, id: object.id) do %> <% if object.image_url.present? %> <div class="<%= object.classname %>" style="background-image: url(<%= object.image_url %>); background-size: cover"> <%= capture(&object.children) %> </div> <% else %> <div class="<%= object.classname %>"> <%= capture(&object.children) %> </div> <% end %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
playbook_ui-7.1.1.pre.alpha1 | app/pb_kits/playbook/pb_background/_background.html.erb |
playbook_ui-7.0.1.pre.alpha14 | app/pb_kits/playbook/pb_background/_background.html.erb |