Sha256: 684682c6b7d8b515cf08939ca9e88cec1c9b82e6a881986a5ddfaec8a2b2cc62

Contents?: true

Size: 764 Bytes

Versions: 9

Compression:

Stored size: 764 Bytes

Contents

<div class="row small-12">
  <% paginate_posts.each do |post| %>
    <div class="card card--post">
      <% if post.photo.present? %>
        <%= image_tag post.photo.url, class: "card__image" %>
      <% end %>
      <div class="card__content">
        <div class="card__header">
          <%= link_to post, class: "card__link" do %>
          <h2 class="card__title">
            <%= translated_attribute post.title %>
          </h2>
          <% end %>
          <div class="card__author">
            <%= cell "decidim/author", present(post.author), from: post, has_actions: true %>
          </div>
        </div>
        <%= decidim_sanitize_editor post_description(post) %>
      </div>
    </div>
  <% end %>
</div>
<%= decidim_paginate paginate_posts %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-blogs-0.26.10 app/views/decidim/blogs/posts/_posts.html.erb
decidim-blogs-0.26.9 app/views/decidim/blogs/posts/_posts.html.erb
decidim-blogs-0.26.8 app/views/decidim/blogs/posts/_posts.html.erb
decidim-blogs-0.26.7 app/views/decidim/blogs/posts/_posts.html.erb
decidim-blogs-0.26.5 app/views/decidim/blogs/posts/_posts.html.erb
decidim-blogs-0.26.4 app/views/decidim/blogs/posts/_posts.html.erb
decidim-blogs-0.26.3 app/views/decidim/blogs/posts/_posts.html.erb
decidim-blogs-0.26.2 app/views/decidim/blogs/posts/_posts.html.erb
decidim-blogs-0.26.1 app/views/decidim/blogs/posts/_posts.html.erb