Sha256: 6d106ff7db3c4342f02b77415c1657dadcff54c222f0f2988df84763b7c9bbcb

Contents?: true

Size: 577 Bytes

Versions: 10

Compression:

Stored size: 577 Bytes

Contents

.tn-tc-left-wrapped-image-with-text.tn-tc__wrapped-image-with-text
  = f.hidden_field :row_type
  = f.hidden_field :list_order
  .twelve
    = f.fields_for :pieces do |piece|
      = piece.hidden_field :piece_type
      - if piece.object.piece_type == 'Image'
        .wrapped-image.left.tn-tc-asset-field.omega.tn-tc-piece{ class: "inner#{piece.object.size}" }
          = render 'tenon/tenon_content/piece_types/form/image', f: piece, style: 'wrap'
      - if piece.object.piece_type == 'Text'
        = render 'tenon/tenon_content/piece_types/form/text', f: 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/form/_left_wrapped_image_with_text.html.haml
tenon-2.0.8 app/views/tenon/tenon_content/row_types/form/_left_wrapped_image_with_text.html.haml
tenon-2.0.7 app/views/tenon/tenon_content/row_types/form/_left_wrapped_image_with_text.html.haml
tenon-2.0.6 app/views/tenon/tenon_content/row_types/form/_left_wrapped_image_with_text.html.haml
tenon-2.0.5 app/views/tenon/tenon_content/row_types/form/_left_wrapped_image_with_text.html.haml
tenon-2.0.4 app/views/tenon/tenon_content/row_types/form/_left_wrapped_image_with_text.html.haml
tenon-2.0.3 app/views/tenon/tenon_content/row_types/form/_left_wrapped_image_with_text.html.haml
tenon-2.0.2 app/views/tenon/tenon_content/row_types/form/_left_wrapped_image_with_text.html.haml
tenon-2.0.1 app/views/tenon/tenon_content/row_types/form/_left_wrapped_image_with_text.html.haml
tenon-2.0.0 app/views/tenon/tenon_content/row_types/form/_left_wrapped_image_with_text.html.haml