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

Version Path
camaleon_cms-2.3.6 app/views/camaleon_cms/default_theme/post_type.html.erb
camaleon_cms-2.3.5 app/views/camaleon_cms/default_theme/post_type.html.erb
camaleon_cms-2.3.4 app/views/camaleon_cms/default_theme/post_type.html.erb
camaleon_cms-2.1.2.1 app/views/camaleon_cms/default_theme/post_type.html.erb
camaleon_cms-2.3.3 app/views/camaleon_cms/default_theme/post_type.html.erb
camaleon_cms-2.3.2 app/views/camaleon_cms/default_theme/post_type.html.erb
camaleon_cms-2.3.1 app/views/camaleon_cms/default_theme/post_type.html.erb
camaleon_cms-2.3.0 app/views/camaleon_cms/default_theme/post_type.html.erb
camaleon_cms-2.2.1 app/views/camaleon_cms/default_theme/post_type.html.erb
camaleon_cms-2.2.0 app/views/camaleon_cms/default_theme/post_type.html.erb