Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing partial kaminari/ra-twitter-bootstrap/_paginator #14

Closed
spbsamuel opened this issue Aug 4, 2016 · 6 comments
Closed

Missing partial kaminari/ra-twitter-bootstrap/_paginator #14

spbsamuel opened this issue Aug 4, 2016 · 6 comments

Comments

@spbsamuel
Copy link

Faced this issue when using the history feature in rails admin

Showing /Users/samuelphua/.rvm/gems/ruby-2.1.5/gems/rails_admin_history_rollback-0.0.8/app/views/rails_admin/main/history.html.haml where line #56 raised:

Missing partial kaminari/ra-twitter-bootstrap/_paginator with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder, :haml]}.

Using kaminari 0.17.0
Using paper_trail 5.2.0
Using rails 4.2.6
Using rails_admin 0.8.1
Using rails_admin_history_rollback 0.0.8

@rikkipitt
Copy link
Member

Hey @spbsamuel, can you try using v0.0.7 for Rails 4? If that sorts you out I'll update the README!

gem "rails_admin_history_rollback", "0.0.7"

@serge1peshcoff
Copy link
Contributor

I've faced the same issue, for me using v0.0.7 worked.

@spbsamuel
Copy link
Author

@rikkipitt Sorry for the late reply :S
How I solved it was to go directly to
/app/views/rails_admin/main/history.html.haml
and change kaminari/ra-twitter-bootstrap/_paginator to kaminari/twitter-bootstrap/_paginator

Didn't have to use v0.0.7. The main rails admin project changed from twitter-bootstrap to ra-twitter-bootstrap for some name spacing reason.

@serge1peshcoff
Copy link
Contributor

@spbsamuel yeah, though it seems like this renaming will be presented in rails_admin v1.0, and the current rails_admin version (0.8.1). still refers to kaminari/twitter-bootstrap/_paginator.

@rikkipitt
Copy link
Member

Tricky! I'll take a more in depth look today if I get chance and try and support both versions.

@spbsamuel
Copy link
Author

@rikkipitt @serge1peshcoff Thanks for your help!

railsadminteam/rails_admin#2283 You can refer to this issue for details why it was changed to ra-twitter-bootstrap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants