diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-22 23:46:57 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-22 23:46:57 +0100 |
commit | 7c842dd79b3ac4a8bd462ef80ee1e27f5e74e4d3 (patch) | |
tree | 84e5874864302c955575a753e0755bf97a91bf0b /app/views/phone_book_entries/_navigation.html.haml | |
parent | f64e0935ea0b31230d1a18a27dfb5993a6e9ff02 (diff) |
Optimized views for phones.
Diffstat (limited to 'app/views/phone_book_entries/_navigation.html.haml')
-rw-r--r-- | app/views/phone_book_entries/_navigation.html.haml | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/app/views/phone_book_entries/_navigation.html.haml b/app/views/phone_book_entries/_navigation.html.haml index dd1e8a7..a9a3d58 100644 --- a/app/views/phone_book_entries/_navigation.html.haml +++ b/app/views/phone_book_entries/_navigation.html.haml @@ -1,8 +1,7 @@ -%nav - %ol.abc - - %w{# A B C D E F G H I J K L M N O P Q R S T U V W X Y Z}.each do |char| - %li - %a{ :href => "?name=#{char}" }= char +%ul{:class => 'nav nav-pills'} + - %w{A B C D E F G H I J K L M N O P Q R S T U V W X Y Z}.each do |char| + %li + %a{ :href => "?name=#{char}" }= char -.pagination - = will_paginate @phone_book_entries +/ .pagination +/ = will_paginate @phone_book_entries |