Sha256: 43593b5c75e6d64a5679fb675e75bc27d9b1a81348298a5e78b2102aef0925b5

Contents?: true

Size: 533 Bytes

Versions: 1

Compression:

Stored size: 533 Bytes

Contents

<% if post.is_a?(Decidim::Posts::Post) %>
  <article id="feeds_post-<%= post.id %>" class="card__grid posts__post <%= 'host-highlight' if post.highlighted %>" data-content="<%= post.category %>" <%= 'aria-live="polite"' if post.category == 'host' %>>
    <% if post.category == 'host' %>
      <%= cell("decidim/posts/post_host", post) %>
    <% else %>
      <%= cell("decidim/posts/post", post) %>
    <% end %>
  </article>
<% elsif post.is_a?(Decidim::Meetings::Meeting) %>
  <%= cell("decidim/posts/meeting", post) %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
decidim-posts-1.0.0 app/views/decidim/posts/posts/_post.html.erb