Sha256: 7eef0c6f073234373531225dc16baa7ffd35150363149e6fe21c8f736550b2f5

Contents?: true

Size: 511 Bytes

Versions: 2

Compression:

Stored size: 511 Bytes

Contents

.four-column-image-and-text.stacked-image-and-text
  -[[0,1], [2,3], [4,5], [6,7]].each do |positions|
    .three{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/_four_column_image_and_text.html.haml
tenon-1.0.11 app/views/tenon/tenon_content/row_types/display/_four_column_image_and_text.html.haml