Sha256: f91c6691ba2e919d99d8cf0755a9e021f0d31947a3e82e3ead78cbfe54a73edd

Contents?: true

Size: 1009 Bytes

Versions: 7

Compression:

Stored size: 1009 Bytes

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="well">
            <%= 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')), class: "alert alert-warning") if @posts.empty? %>
    <%= will_paginate @posts, renderer: BootstrapPagination::Rails if @posts.present? %>

</article>


Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
camaleon_cms-2.1.1.4 app/views/camaleon_cms/default_theme/post_type.html.erb
camaleon_cms-2.1.1 app/views/camaleon_cms/default_theme/post_type.html.erb
camaleon_cms-2.1.0 app/views/camaleon_cms/default_theme/post_type.html.erb
camaleon_cms-2.0.4.1 app/views/camaleon_cms/default_theme/post_type.html.erb
camaleon_cms-2.0.4 app/views/camaleon_cms/default_theme/post_type.html.erb
camaleon_cms-2.0.3 app/views/camaleon_cms/default_theme/post_type.html.erb
camaleon_cms-2.0.2 app/views/camaleon_cms/default_theme/post_type.html.erb