Skip to content

Commit

Permalink
Fix the old terminology in the demo.ru app
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Jun 30, 2024
1 parent 55b9e83 commit ea628c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gem/apps/demo.ru
Original file line number Diff line number Diff line change
Expand Up @@ -380,15 +380,15 @@ for details</p>
<%= html = send(:"pagy#{prefix}_nav", @pagy, id: 'simple-nav', aria_label: 'Pages simple-nav', size: 5) %>
<%= highlight(html) %>

<h2>pagy<%= prefix %>_nav <span class="notes">Classic nav <code>size: 7</code></span></h2>
<h2>pagy<%= prefix %>_nav <span class="notes">Fast nav <code>size: 7</code></span></h2>
<%= html = send(:"pagy#{prefix}_nav", @pagy, id: 'nav', aria_label: 'Pages nav') %>
<%= highlight(html) %>

<h2>pagy<%= prefix %>_nav_js <span class="notes">Classic nav <code>size: 7</code></span></h2>
<h2>pagy<%= prefix %>_nav_js <span class="notes">Fast nav <code>size: 7</code></span></h2>
<%= html = send(:"pagy#{prefix}_nav_js", @pagy, id: 'nav-js', aria_label: 'Pages nav_js') %>
<%= highlight(html) %>

<h2>pagy<%= prefix %>_nav_js <span class="notes">Responsive <code>steps: {...}</code> (Resize the window to see)</span></h2>
<h2>pagy<%= prefix %>_nav_js <span class="notes">Responsive nav <code>steps: {...}</code> (Resize the window to see)</span></h2>
<%= html = send(:"pagy#{prefix}_nav_js", @pagy, id: 'nav-js-responsive',
aria_label: 'Pages nav_js_responsive',
steps: { 0 => 5, 500 => 7, 750 => 9, 1000 => 11 }) %>
Expand Down

0 comments on commit ea628c0

Please sign in to comment.