<%= render partial: 'partials/breadcrumb', locals: {breadcrumb: @category.the_breadcrumb } %>

<%= @category.the_title %><%= @category.the_edit_link %>

<%= raw @category.the_content %>


<% if @children.present? %>
<%= render partial: "partials/categories_list", locals: {categories: @children } %>
<% end %>
<% @posts.each_with_index do |post, index| %> <%= raw "
" if index%3 == 0 && index > 0 %> <%= render partial: 'partials/post_list_item', locals: {post: post.decorate} %> <% end %>
<%= content_tag("div", raw(ct('no_contents_found', default: 'No contents found')), class: "alert alert-warning") if @posts.empty? %> <%= will_paginate @posts, renderer: BootstrapPagination::Rails if @posts.present? %>