Skip to content

Commit

Permalink
Improve style
Browse files Browse the repository at this point in the history
  • Loading branch information
luca3m committed Jul 2, 2014
1 parent 7a5963e commit a54678a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions views/bootstrap_classic.haml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
=link_to "Prev", url(controller, action, params.merge("page" => previous_page)), :class => :prev_next

- (1..total_pages).each do |page|
%li
- if page == current_page
%span.current=page
- else
=link_to page, url(controller, action, params.merge("page" => page))
%li{:class => ( "active" if page == current_page) }
=link_to page, url(controller, action, params.merge("page" => page))


- if next_page
%li
Expand Down

0 comments on commit a54678a

Please sign in to comment.