Sha256: 0f9eb608cd7da992bdc662f403bbaf40e87c11e6e1388998f31dd161e5f0d021

Contents?: true

Size: 573 Bytes

Versions: 1

Compression:

Stored size: 573 Bytes

Contents

<% objects.each do |post| %>
  <%= render partial: "post", locals: { post: post } %>
<% end %>

<% if objects.respond_to?(:next_page) && @non_fixed_objects.next_page %>
  <div id="page_<%= @non_fixed_objects.next_page %>"></div>
  <%= link_to t("decidim.posts.posts.load_more"), "#page_#{@non_fixed_objects.next_page}", id: "loadMoreBtn", class: "card__grid posts__post posts__post_newElement flex-row justify-between", data: { page: @non_fixed_objects.next_page, url: load_more_posts_path(request.query_parameters.merge(page: @non_fixed_objects.next_page)) } %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

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