Skip to content

Commit

Permalink
Change from <button> to <a> elements for pagination
Browse files Browse the repository at this point in the history
Closes #149

Co-authored-by: Ben Sheldon <[email protected]>
  • Loading branch information
lkogler and bensheldon committed Dec 18, 2019
1 parent 309e0dd commit d7a4747
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions app/views/examples/organisms/_pagination.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<div class="pagination__info">
<p class="text--help">Displaying 1-20 of 344 applicants</p>
</div>
<div class="pagination__buttons">
<button class="button button--small" aria-label="Go back one page"><i class="icon icon-keyboard_arrow_left"></i></button>
<button class="button button--small">1</button>
<button class="button button--small pagination__selected">2</button>
<button class="button button--small">3</button>
<nav class="pagination__buttons">
<a class="button button--small" aria-label="Go back one page"><i class="icon icon-keyboard_arrow_left"></i></a>
<a class="button button--small" aria-label="Page 1">1</a>
<a class="button button--small pagination__selected" aria-label="Page 2 selected">2</a>
<a class="button button--small" aria-label="Page 3">3</a>
<span class="pagination__ellipsis">&hellip;</span>
<button class="button button--small">6</button>
<button class="button button--small" aria-label="Go forward one page"><i class="icon icon-keyboard_arrow_right"></i></button>
</div>
<a class="button button--small" aria-label="Page 6">6</a>
<a class="button button--small" aria-label="Go forward one page"><i class="icon icon-keyboard_arrow_right"></i></a>
</nav>
</div>

0 comments on commit d7a4747

Please sign in to comment.