Sha256: 48e1eff0b61e36546d551356ab144cc02ab103b6d0052df1afbb37eff7e585b4

Contents?: true

Size: 594 Bytes

Versions: 6

Compression:

Stored size: 594 Bytes

Contents

<%# Link showing page number
  - available local variables
    page:          a page object for "this" page
    url:           url to this page
    current_page:  a page object for the currently displayed page
    total_pages:   total number of pages
    per_page:      number of items to fetch per page
    remote:        data-remote
-%>
<span class="page <%= 'current bg-blue-500 text-white' if page.current? %> hover:bg-blue-700 text-blue-500 hover:text-white border border-blue-500 rounded-md px-2">
  <%= link_to_unless page.current?, page, url, {remote: remote, rel: page.rel} %>
</span>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
administrate_tailwind_theme-0.0.6 app/views/kaminari/_page.html.erb
administrate_tailwind_theme-0.0.5 app/views/kaminari/_page.html.erb
administrate_tailwind_theme-0.0.4 app/views/kaminari/_page.html.erb
administrate_tailwind_theme-0.0.3 app/views/kaminari/_page.html.erb
administrate_tailwind_theme-0.0.2 app/views/kaminari/_page.html.erb
administrate_tailwind_theme-0.0.1 app/views/kaminari/_page.html.erb