app/views/decidim/blogs/posts/_posts.html.erb in decidim-blogs-0.11.2 vs app/views/decidim/blogs/posts/_posts.html.erb in decidim-blogs-0.12.0.pre
- old
+ new
@@ -7,10 +7,10 @@
<h5 class="card__title card__title--strong">
<%= translated_attribute post.title %>
</h5>
<% end %>
<div class="card__author">
- <%= render partial: "author_data", locals: { post: post } %>
+ <%= cell "decidim/author", present(post.author), from: post %>
</div>
</div>
<%= sanitize post_description(post) %>
</div>
</article>