.tn-tc-left-text-right-image.tn-tc-image-and-text
  = f.hidden_field :row_type
  = f.hidden_field :list_order
  = f.fields_for :pieces do |piece|
    = piece.hidden_field :piece_type
    - if piece.object.piece_type == "Text"
      .tn-tc-piece{class: piece.object.size}
        = render "tenon/tenon_content/piece_types/form/text", f: piece
    - if piece.object.piece_type == "Image"
      . tn-tc-piece.tn-tc-asset-field.omega{class: piece.object.size}
        = render "tenon/tenon_content/piece_types/form/image", f: piece, style: 'half'
  .spacer
.tn-tc-left-text-right-image.tn-tc-image-and-text
  = f.hidden_field :row_type
  = f.hidden_field :list_order
  = f.fields_for :pieces do |piece|
    = piece.hidden_field :piece_type
    - if piece.object.piece_type == "Text"
      .tn-tc-piece{class: piece.object.size}
        = render "tenon/tenon_content/piece_types/form/text", f: piece
    - if piece.object.piece_type == "Image"
      .tn-tc-piece.tn-tc-asset-field.omega{class: piece.object.size}
        = render "tenon/tenon_content/piece_types/form/image", f: piece, style: 'half'
  .spacer

Fix typo causing HAML error when switching image sides in Tenon Content
Fix typo causing HAML error when switching image sides in Tenon Content
