Commit d79c5987 by Hoang Phuc Do

Update paginator style

parent 2cd55b54
......@@ -13,7 +13,7 @@ ActiveAdmin.register Product do
filter :title
filter :user, collection: User.pluck(:email, :id), label: 'User email'
show do
show theme: 'hi' do
attributes_table do
row :title
row :sku
......
class User < ApplicationRecord
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :database_authenticatable,
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable
has_many :products, dependent: :destroy
end
......@@ -19,7 +19,7 @@
<div class="toolbar-bottom">
<div class="toolbar">
<div class="sorter">
<%= paginate @latest_products %>
<%= paginate @latest_products, theme: 'bootstrap' %>
</div>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment