Sha256: a05d8e92706f9c88a52842ae42c570e6da8f419483ae65e11b78b1ed3cf17ee8

Contents?: true

Size: 344 Bytes

Versions: 18

Compression:

Stored size: 344 Bytes

Contents

<% auto_load = local_assigns.has_key?(:auto_load) ? local_assigns[:auto_load] : true %>

<% unless items.page(params[:page]).last_page? %>
  <div id="infinite">
    <%= link_to t(".load_more"), path_to_next_page(items), class: "btn btn-primary", data: {turbo_stream: true, controller: auto_load ? "infinite-scroller" : ""} %>
  </div>
<% end %>

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
formstrap-0.4.5 app/views/formstrap/pagination/_infinite.html.erb
headmin-0.6.3 app/views/headmin/pagination/_infinite.html.erb
formstrap-0.4.4 app/views/formstrap/pagination/_infinite.html.erb
formstrap-0.4.3 app/views/formstrap/pagination/_infinite.html.erb
formstrap-0.4.2 app/views/formstrap/pagination/_infinite.html.erb
formstrap-0.3.5 app/views/formstrap/pagination/_infinite.html.erb
formstrap-0.3.4 app/views/formstrap/pagination/_infinite.html.erb
formstrap-0.3.3 app/views/formstrap/pagination/_infinite.html.erb
formstrap-0.3.2 app/views/formstrap/pagination/_infinite.html.erb
formstrap-0.3.1 app/views/formstrap/pagination/_infinite.html.erb
formstrap-0.3.0 app/views/formstrap/pagination/_infinite.html.erb
formstrap-0.2.1 app/views/formstrap/pagination/_infinite.html.erb
formstrap-0.2.0 app/views/formstrap/pagination/_infinite.html.erb
formstrap-0.1.3 app/views/formstrap/pagination/_infinite.html.erb
formstrap-0.1.2 app/views/formstrap/pagination/_infinite.html.erb
formstrap-0.1.1 app/views/formstrap/pagination/_infinite.html.erb
formstrap-0.1.0 app/views/formstrap/pagination/_infinite.html.erb
headmin-0.6.2 app/views/headmin/pagination/_infinite.html.erb