osunyorg/admin

View on GitHub
app/views/extranet/home/features/_posts.html.erb

Summary

Maintainability
Test Coverage
<% if @posts.any? %>
  <section class="mt-5">
    <h2 class="mb-4"><%= t('extranet.posts.home') %></h2>
    <%= render 'extranet/posts/posts/list', posts: @posts %>
  </section>
<% end %>