Sha256: 5f4dad9d92ca941af5cf4a5d0d08ca436dea4a2db17c18928087590c6069e65a

Contents?: true

Size: 552 Bytes

Versions: 9

Compression:

Stored size: 552 Bytes

Contents

.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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tenon-1.1.8 app/views/tenon/tenon_content/row_types/form/_left_text_right_image.html.haml
tenon-1.1.7 app/views/tenon/tenon_content/row_types/form/_left_text_right_image.html.haml
tenon-1.1.6 app/views/tenon/tenon_content/row_types/form/_left_text_right_image.html.haml
tenon-1.1.5 app/views/tenon/tenon_content/row_types/form/_left_text_right_image.html.haml
tenon-1.1.4 app/views/tenon/tenon_content/row_types/form/_left_text_right_image.html.haml
tenon-1.1.3 app/views/tenon/tenon_content/row_types/form/_left_text_right_image.html.haml
tenon-1.1.2 app/views/tenon/tenon_content/row_types/form/_left_text_right_image.html.haml
tenon-1.1.1 app/views/tenon/tenon_content/row_types/form/_left_text_right_image.html.haml
tenon-1.0.76 app/views/tenon/tenon_content/row_types/form/_left_text_right_image.html.haml