Sha256: 0580878ed94f1a24047916b774ce175f4bf2d443c7eb64e5eabb1e705c022d45
Contents?: true
Size: 968 Bytes
Versions: 24
Compression:
Stored size: 968 Bytes
Contents
<article id="category-view" class="category_<%= @category.slug %>"> <%= render partial: 'partials/breadcrumb', locals: {breadcrumb: @category.the_breadcrumb } %> <h1><%= @category.the_title %></h1> <div class="content"> <%= raw @category.the_content %> </div><br><br> <% if @children.present? %> <div class="well"> <%= render partial: "partials/categories_list", locals: {categories: @children } %> </div> <% end %> <div class="row"> <% @posts.each_with_index do |post, index| %> <%= raw "<div class='clearfix'></div>" if index%3 == 0 && index > 0 %> <%= render partial: 'partials/post_list_item', locals: {post: post.decorate} %> <% end %> </div> <%= content_tag("div", raw(ct('no_contents_found')), class: "alert alert-warning") if @posts.empty? %> <%= will_paginate @posts, renderer: BootstrapPagination::Rails if @posts.present? %> </article>
Version data entries
24 entries across 24 versions & 1 rubygems