Sha256: d87eb7d383351145fd625a5af153bb30adfcb163b7335bc310fd527f84f00b4b

Contents?: true

Size: 848 Bytes

Versions: 7

Compression:

Stored size: 848 Bytes

Contents

<nav aria-label="pagination" class="flex items-center">
  <%= render component("ui/button").new(
    icon: 'arrow-left-s-line',
    class: 'rounded-tr-none rounded-br-none border-r-0',
    scheme: :secondary,
    size: :s,
    tag: :a,
    href: @prev_link,
    'aria-disabled': @prev_link.blank?,
    rel: 'prev',
    text: content_tag(:span, t('.previous'), class: 'sr-only'),
    "data-turbo-frame": "_self",
    "data-turbo-action": "advance",
  ) -%>
  <%= render component("ui/button").new(
    icon: 'arrow-right-s-line',
    class: 'rounded-tl-none rounded-bl-none',
    scheme: :secondary,
    size: :s,
    tag: :a,
    href: @next_link,
    'aria-disabled': @next_link.blank?,
    rel: 'next',
    text: content_tag(:span, t('.next'), class: 'sr-only'),
    "data-turbo-frame": "_self",
    "data-turbo-action": "advance",
  ) %>
</nav>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
solidus_admin-0.3.2 app/components/solidus_admin/ui/table/pagination/component.html.erb
solidus_admin-0.3.1 app/components/solidus_admin/ui/table/pagination/component.html.erb
solidus_admin-0.3.0 app/components/solidus_admin/ui/table/pagination/component.html.erb
solidus_admin-0.2.0 app/components/solidus_admin/ui/table/pagination/component.html.erb
solidus_admin-0.1.0 app/components/solidus_admin/ui/table/pagination/component.html.erb
solidus_admin-0.0.2 app/components/solidus_admin/ui/table/pagination/component.html.erb
solidus_admin-0.0.1 app/components/solidus_admin/ui/table/pagination/component.html.erb