Sha256: a1cf495b07e533132195639e2946f2060cd43e5374eb0b013650b8f0d5efcbc2

Contents?: true

Size: 659 Bytes

Versions: 13

Compression:

Stored size: 659 Bytes

Contents

.six-column-image-and-text.stacked-image-and-text
  - [ [ [0,1], [2,3] ], [ [4,5], [6,7] ], [ [8,9], [10,11] ] ].each_with_index do |columns, i|
    .four{class: i == 2 ? 'omega' : ''}
      - columns.each do |positions|
        .six{class: cycle('', 'omega')}
          - row.pieces.select { |p| positions.include?(p.position) }.each do |piece|
            - if piece.piece_type == 'Image'
              .tn-tc-piece.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

13 entries across 13 versions & 1 rubygems

Version Path
tenon-1.0.67 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-1.0.66 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-1.0.65 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-1.0.64 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-1.0.63 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-1.0.62 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-1.0.61 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-1.0.60 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-1.0.59 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-1.0.57 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-1.0.56 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-1.0.55 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-1.0.54 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml