Adding images for pagination links in will_paginate

Hi,
I am using will_paginate for pagination.
I have to show only Previous and Next links, that I have achieved by
“:page_links=>false” parameter.
Now I want to show the images instead of “Previous” and “Next” labels.

Can anyone tell how to achieve this in will_paginate?

Thanks,
Tushar

set the previous and next labels to ‘’ or ’ ’ if it won’t allow
blank
labels.
then look at the class of the labels and apply css styling.

On Thu, Feb 17, 2011 at 2:48 PM, Tushar G. [email protected]
wrote:

http://groups.google.com/group/rubyonrails-talk?hl=en.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs