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

How do I add a class or id attribute to the nav element #63

Closed
krzkrzkrz opened this issue Mar 24, 2011 · 3 comments
Closed

How do I add a class or id attribute to the nav element #63

krzkrzkrz opened this issue Mar 24, 2011 · 3 comments

Comments

@krzkrzkrz
Copy link

I tried:

<%= paginate @comments, :class => 'pagination ajax_pagination' %>

Which I would like to render as:

<nav class="pagination ajax_pagination">...</nav>

Is such a thing possible?

@tmilewski
Copy link
Contributor

This is possible by modifying the templates.
Check out the "Customizing the pagination helper" section in the README.

@yuki24
Copy link
Member

yuki24 commented Dec 4, 2012

Yes, this is possible by modifying the templates. I'm closing this issue and sorry for the late reply.

@yuki24 yuki24 closed this as completed Dec 4, 2012
@leckylao
Copy link

leckylao commented Jul 2, 2013

#417

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

4 participants