Sha256: 669db76e536d0013245923192e9feec8c5ac127b80b333d319396835ae1e7936
Contents?: true
Size: 577 Bytes
Versions: 21
Compression:
Stored size: 577 Bytes
Contents
%div{:id=>@id, :class=>['imageblock', @style, role], :style=>((css_style = [("text-align: #{attr :align}" if attr? :align), ("float: #{attr :float}" if attr? :float)].compact * '; ').empty? ? nil : css_style)} .content - if attr? :link %a.image{:href=>(attr :link)} %img{:src=>image_uri(attr :target), :alt=>(attr :alt), :width=>(attr :width), :height=>(attr :height)} - else %img{:src=>image_uri(attr :target), :alt=>(attr :alt), :width=>(attr :width), :height=>(attr :height)} - if title? .title=captioned_title
Version data entries
21 entries across 21 versions & 1 rubygems