<div class='pagination-container <%= if assigns[:position] == "top" do %>position-top<% end %> <%= if assigns[:position] == "bottom" do %>position-bottom<% end %>'>
<div class='pagination-container <%= if assigns[:position] == "top" do %>position-top<% end %> <%= if assigns[:position] == "bottom" do %>position-bottom<% end %>'>
<%= if assigns[:show_pagination_limit] do %>
<%= if false do %>
<!-- Pagination limit -->
<!-- Pagination limit -->
<div class="pagination-limit">
<div class="pagination-limit">
<%= gettext "Show" %>
<%= gettext "Show" %>
@ -14,13 +14,15 @@
<!-- Pagination -->
<!-- Pagination -->
<ul class="pagination">
<ul class="pagination">
<!-- First -->
<!-- First -->
<li class="page-item">
<%= if assigns[:first_page_path] do %>
<a
<li class="page-item">
<%= if !assigns[:first_page_path] do %>disabled<% end %>
<a
class="page-link"
<%= if !assigns[:first_page_path] do %>disabled<% end %>
href='<%= "#{assigns[:first_page_path]}" %>'
class="page-link"
>First</a>
href='<%= "#{assigns[:first_page_path]}" %>'
</li>
>First</a>
</li>
<% end %>
<!-- Previous -->
<!-- Previous -->
<li class="page-item">
<li class="page-item">
<a
<a
@ -50,6 +52,7 @@
</a>
</a>
</li>
</li>
<!-- Last -->
<!-- Last -->
<%= if assigns[:last_page_path] do %>
<li class="page-item">
<li class="page-item">
<a
<a
<%= if !assigns[:last_page_path] do %>disabled<% end %>
<%= if !assigns[:last_page_path] do %>disabled<% end %>