Sha256: ec07c213426cdcb7d5fd8e19528fbf188d9bc53daa556f04e2a0699eabca4959

Contents?: true

Size: 1.57 KB

Versions: 1

Compression:

Stored size: 1.57 KB

Contents

<%
  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')
%>

<!-- MAIN CONTAINER -->
<%=raw row.open %>

  <!-- SMALL SECTION CONTAINER -->
  <%=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 %>
  <!-- / SMALL SECTION CONTAINER -->

  <!-- BIG SECTION CONTAINER -->
  <%=raw container_block_big.open %>

    <%=raw row.open %>

      <%=raw block.open %>

        <%= 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 %>
  <!-- / BIG SECTION CONTAINER -->

<%=raw row.close %>
<!-- / MAIN CONTAINER -->

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lato_media-2.1 app/views/lato_media/back/medias/edit.html.erb