Sha256: 76dd6090f79cdef84a612386b16c05854c0131c68597e3470e51868f4d6e3285
Contents?: true
Size: 964 Bytes
Versions: 26
Compression:
Stored size: 964 Bytes
Contents
<style> .mu-certificate-box { overflow: hidden; height: 210mm; width: 297mm; max-height: 210mm; max-width: 297mm; min-height: 210mm; min-width: 297mm; margin: 0; box-sizing: border-box; position: relative; border: 1px solid lightgrey; } .mu-certificate-box section { background: transparent; z-index: 10; } .background-image { position: absolute; height: 210mm; width: 297mm; margin: 0; padding: 0; z-index: 0; } .qr-code { position: absolute; z-index: 10; } </style> <div class="mu-certificate-box"> <img src="<%= certificate.background_image_url %>" class="background-image"/> <%= render inline: certificate.template_html_erb, locals: certificate.template_locals %> <a href="<%= verify_certificate_url certificate.organization, certificate.code %>" target="_blank"> <div><img class="qr-code" src="<%= qr_for certificate %>"/></div> </a> </div>
Version data entries
26 entries across 26 versions & 1 rubygems