Sha256: 5b5ece620e65deb018ac8de84d6be957b0309135efd6aa6b3e6b1cc434c0e147

Contents?: true

Size: 526 Bytes

Versions: 10

Compression:

Stored size: 526 Bytes

Contents

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tenon-2.1.0 app/views/tenon/tenon_content/row_types/display/_three_column_image_and_text.html.haml
tenon-2.0.8 app/views/tenon/tenon_content/row_types/display/_three_column_image_and_text.html.haml
tenon-2.0.7 app/views/tenon/tenon_content/row_types/display/_three_column_image_and_text.html.haml
tenon-2.0.6 app/views/tenon/tenon_content/row_types/display/_three_column_image_and_text.html.haml
tenon-2.0.5 app/views/tenon/tenon_content/row_types/display/_three_column_image_and_text.html.haml
tenon-2.0.4 app/views/tenon/tenon_content/row_types/display/_three_column_image_and_text.html.haml
tenon-2.0.3 app/views/tenon/tenon_content/row_types/display/_three_column_image_and_text.html.haml
tenon-2.0.2 app/views/tenon/tenon_content/row_types/display/_three_column_image_and_text.html.haml
tenon-2.0.1 app/views/tenon/tenon_content/row_types/display/_three_column_image_and_text.html.haml
tenon-2.0.0 app/views/tenon/tenon_content/row_types/display/_three_column_image_and_text.html.haml