Sha256: 4bd19d4b4e36f1b95a02d15d5b38665015fd9bed4389681a8128397ff8a4dc91
Contents?: true
Size: 1.03 KB
Versions: 10
Compression:
Stored size: 1.03 KB
Contents
<article id="post_type-view" class="post_type_<%= @post_type.slug %>"> <%= render partial: 'partials/breadcrumb', locals: {breadcrumb: @post_type.the_breadcrumb } %> <h1><%= @post_type.the_title %> <%= @post_type.the_edit_link %></h1> <div class="content"> <%= raw @post_type.the_content %> </div><br><br> <% if @categories.present? %> <div class="categories_list"> <%= render partial: "partials/categories_list", locals: {categories: @categories} %> </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', default: 'No contents found.')), class: "alert alert-warning") if @posts.empty? %> <%= will_paginate @posts, renderer: BootstrapPagination::Rails if @posts.present? %> </article>
Version data entries
10 entries across 10 versions & 1 rubygems