Sha256: cd51aa4abfb8b4e89f236640641b74dd2a9f411fe1d34ce301deaf8d1412bac2

Contents?: true

Size: 486 Bytes

Versions: 2

Compression:

Stored size: 486 Bytes

Contents

.two-column-image-and-text.stacked-image-and-text
  -[[0,1], [2,3]].each do |positions|
    .six{class: cycle('', 'omega')}
      - row.pieces.select { |p| positions.include?(p.position) }.each do |piece|
        - if piece.object.piece_type == 'Image'
          .tn-tc-piece
            = render "tenon/tenon_content/piece_types/display/image", piece: piece
        - else
          .tn-tc-piece
            = render 'tenon/tenon_content/piece_types/form/text', piece: piece
  .spacer

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tenon-1.0.12 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml
tenon-1.0.11 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml