diff --git a/app/views/shared/_blocks.html.erb b/app/views/shared/_blocks.html.erb new file mode 100644 index 0000000..cd70733 --- /dev/null +++ b/app/views/shared/_blocks.html.erb @@ -0,0 +1,5 @@ +<%= + content_tag :li, class: page_item_css do + link_to page, bets_path(page: page), class: 'page-link' + end +%> diff --git a/app/views/shared/_paginator.html.erb b/app/views/shared/_paginator.html.erb new file mode 100644 index 0000000..b957bdc --- /dev/null +++ b/app/views/shared/_paginator.html.erb @@ -0,0 +1,39 @@ +