<% row = cell(:elements, :row).new block = cell(:elements, :block).new(class: 'xs-12 sm-12 md-12') container_block_big = cell(:elements, :block).new(class: 'xs-12 sm-12 md-8 no-padding no-background no-shadow') container_block_small = cell(:elements, :block).new(class: 'xs-12 sm-12 md-4 no-padding no-background no-shadow') %> <%=raw row.open %> <%=raw container_block_big.open %> <%=raw row.open %> <%=raw block.open %> <%=raw cell(:elements, :title).new(label: @media.title, size: 4) %> <%= render 'lato_media/back/medias/shared/form', url: lato_media.media_path(@media.id), method: :put %> <%=raw block.close %> <%=raw row.close %> <%=raw container_block_big.close %> <%=raw container_block_small.open %> <%=raw row.open %> <%=raw block.open %> <%=raw cell('LatoMedia', :elements, :preview).new(media: @media, class: 'md-12') %> <%=raw block.close %> <%=raw row.close %> <%=raw cell(:elements, :button).new(label: LANGUAGES[:lato_media][:mixed][:delete_media], icon: 'trash', url: lato_media.media_path(@media.id), style: 'danger', method: :delete, confirmation: { message: LANGUAGES[:lato_media][:mixed][:delete_media_confirm], positive_response: LANGUAGES[:lato_media][:mixed][:delete_media_confirm_positive], negative_response: LANGUAGES[:lato_media][:mixed][:delete_media_confirm_negative] }) %> <%=raw container_block_small.close %> <%=raw row.close %>