diff --git a/app/assets/stylesheets/style.css.scss b/app/assets/stylesheets/style.css.scss index 19bbe49..fffc59e 100644 --- a/app/assets/stylesheets/style.css.scss +++ b/app/assets/stylesheets/style.css.scss @@ -917,4 +917,15 @@ img { font-style: italic; margin-top: 5em; } +} + +nav.pagination { + font-size: 0; + margin-top: 60px; + + span { + display: inline-block; + font-size: 20px; + padding: 0 5px; + } } \ No newline at end of file diff --git a/app/views/kaminari/_paginator.html.erb b/app/views/kaminari/_paginator.html.erb new file mode 100644 index 0000000..1955081 --- /dev/null +++ b/app/views/kaminari/_paginator.html.erb @@ -0,0 +1,21 @@ +<%# The container tag + - available local variables + 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 + paginator: the paginator that renders the pagination tags inside +-%> +<%= paginator.render do -%> + +<% end -%>