Sha256: f369d91d42e237f03e3662950202f80c2078ea19045733aa428ef3e9718f8010

Contents?: true

Size: 566 Bytes

Versions: 10

Compression:

Stored size: 566 Bytes

Contents

.two-column-text-with-background-image.tn-tc-with-background-image
  = f.hidden_field :list_order
  = f.hidden_field :row_type
  = f.fields_for :pieces do |piece|
    - if piece.object.position == 0
      .tn-tc-piece.tn-tc-background-image.tn-tc-asset-field.inner12
        = render 'tenon/tenon_content/piece_types/form/background_image', f: piece, position: 0, style: 'full'
    - else
      .tn-tc-piece.tn-text-overlay{class: cycle('', 'omega')}
        = render 'tenon/tenon_content/piece_types/form/text', f: piece, position: piece.object.position

  .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/_two_column_with_background_image.html.haml
tenon-2.0.8 app/views/tenon/tenon_content/row_types/form/_two_column_with_background_image.html.haml
tenon-2.0.7 app/views/tenon/tenon_content/row_types/form/_two_column_with_background_image.html.haml
tenon-2.0.6 app/views/tenon/tenon_content/row_types/form/_two_column_with_background_image.html.haml
tenon-2.0.5 app/views/tenon/tenon_content/row_types/form/_two_column_with_background_image.html.haml
tenon-2.0.4 app/views/tenon/tenon_content/row_types/form/_two_column_with_background_image.html.haml
tenon-2.0.3 app/views/tenon/tenon_content/row_types/form/_two_column_with_background_image.html.haml
tenon-2.0.2 app/views/tenon/tenon_content/row_types/form/_two_column_with_background_image.html.haml
tenon-2.0.1 app/views/tenon/tenon_content/row_types/form/_two_column_with_background_image.html.haml
tenon-2.0.0 app/views/tenon/tenon_content/row_types/form/_two_column_with_background_image.html.haml