Sha256: b0345038b652f593ab05bb45423ac5f2d2e5e093804f4f1e2de6252d42d1a42e
Contents?: true
Size: 1.34 KB
Versions: 1
Compression:
Stored size: 1.34 KB
Contents
<%= render layout: 'plugins/ecommerce/layouts/ecommerce', locals: {} do %> <article id="post_type-view" class="post_type_<%= @post_type.slug %>" style="position: relative"> <h1><%= @post_type.the_title %></h1> <div class="content"> <%= raw @post_type.the_content %> </div><br><br> <% if @categories.present? %> <div class="panel panel-primary no-line"> <div class="panel-heading">Categories</div> <div class="panel-body"> <%= render partial: "partials/categories_list", locals: {categories: @categories} %> </div> </div> <% end %> <div class="panel panel-primary post_list no-line"> <div class="panel-heading">Products</div> <div class="panel-body"> <div class="row"> <% @posts.each_with_index do |post, index| %> <%= raw "<div class='clearfix'></div>" if index%3 == 0 && index > 0 %> <%= render partial: 'plugins/ecommerce/front/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? %> </div> </div> </article> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
camaleon_ecommerce-0.0.4 | app/views/plugins/ecommerce/front/list_products.html.erb |