Sha256: 6ee1ab35533752a46e48cf85c8730dd0e00d62f4b3cf3c124301031324cb39b8
Contents?: true
Size: 658 Bytes
Versions: 10
Compression:
Stored size: 658 Bytes
Contents
.four-column-image-and-text.stacked-image-and-text = f.hidden_field :row_type = f.hidden_field :list_order -[[0,1], [2,3], [4,5], [6,7]].each do |positions| .inner3{ class: cycle('', '', '', 'omega') } = f.fields_for :pieces, f.object.pieces.select{ |p| positions.include?(p.position) } do |piece| = piece.hidden_field :piece_type - if piece.object.piece_type == 'Image' .tn-tc-piece.tn-tc-asset-field = render 'tenon/tenon_content/piece_types/form/image', f: piece, style: 'half' - else .tn-tc-piece = render 'tenon/tenon_content/piece_types/form/text', f: piece .spacer
Version data entries
10 entries across 10 versions & 1 rubygems