<% block = cell(:elements, :block).new(class: 'xs-12 sm-12 md-12') table = cell(:elements, :table, :container).new(border: true) table_body = cell(:elements, :table, :body).new %> <%=raw block.open %> <%=raw cell(:elements, :title).new(label: LANGUAGES[:lato_blog][:mixed][:info], size: 6) %> <%=raw table.open %> <%=raw table_body.open %> <%=raw cell(:elements, :table, :row).new(labels: [LANGUAGES[:lato_blog][:mixed][:published_posts], informations[:published_length]]) %> <%=raw cell(:elements, :table, :row).new(labels: [LANGUAGES[:lato_blog][:mixed][:drafted_posts], informations[:drafted_length]]) %> <%=raw cell(:elements, :table, :row).new(labels: [LANGUAGES[:lato_blog][:mixed][:deleted_posts], informations[:deleted_length]]) %> <%=raw table_body.close %> <%=raw table.close %> <% if @posts_status === 'deleted' %>

<%=raw cell(:elements, :button).new(label: LANGUAGES[:lato_blog][:mixed][:empty_trash], icon: 'trash', style: 'danger', confirmation: { message: LANGUAGES[:lato_blog][:mixed][:empty_trash_message], positive_response: LANGUAGES[:lato_blog][:mixed][:empty_trash_positive], negative_response: LANGUAGES[:lato_blog][:mixed][:empty_trash_negative] }, url: lato_blog.posts_destroy_all_deleted_path) %>
<% end %> <%=raw block.close %>