Sha256: 16a980be784144d694f63228df29eb46887544114078c3a70282f55a1bcb47e7
Contents?: true
Size: 1.02 KB
Versions: 2
Compression:
Stored size: 1.02 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.decorate.each_with_index do |post, index| %> <%= raw "<div class='clearfix'></div>" if index%3 == 0 && index > 0 %> <%= render 'post_types/commerce/product_widget', post: post %> <% 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
camaleon_ecommerce-1.2 | app/views/post_types/commerce.html.erb |
camaleon_ecommerce-1.1 | app/views/post_types/commerce.html.erb |