Sha256: 60adae52273e82844cec2211e718bd2e1391059a936400d36e69f1634d62055e

Contents?: true

Size: 482 Bytes

Versions: 39

Compression:

Stored size: 482 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.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/display/text', piece: piece
  .spacer

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
tenon-1.0.53 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml
tenon-1.0.52 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml
tenon-1.0.51 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml
tenon-1.0.50 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml
tenon-1.0.49 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml
tenon-1.0.48 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml
tenon-1.0.47 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml
tenon-1.0.46 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml
tenon-1.0.45 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml
tenon-1.0.44 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml
tenon-1.0.43 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml
tenon-1.0.42 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml
tenon-1.0.41 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml
tenon-1.0.40 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml
tenon-1.0.39 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml
tenon-1.0.38 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml
tenon-1.0.37 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml
tenon-1.0.36 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml
tenon-1.0.35 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml
tenon-1.0.33 app/views/tenon/tenon_content/row_types/display/_two_column_image_and_text.html.haml