Sha256: 825dcb41d41d165ef317a71969e7ecdb0a53bbeb8d2637d32aebade56f2a3a1b

Contents?: true

Size: 764 Bytes

Versions: 3

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 %>
          <h3 class="card__title">
            <%= translated_attribute post.title %>
          </h3>
          <% 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

3 entries across 3 versions & 1 rubygems

Version Path
decidim-blogs-0.26.0 app/views/decidim/blogs/posts/_posts.html.erb
decidim-blogs-0.26.0.rc2 app/views/decidim/blogs/posts/_posts.html.erb
decidim-blogs-0.26.0.rc1 app/views/decidim/blogs/posts/_posts.html.erb