summaryrefslogtreecommitdiff
path: root/app/views/phone_book_entries/_navigation.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/phone_book_entries/_navigation.html.haml')
-rw-r--r--app/views/phone_book_entries/_navigation.html.haml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/phone_book_entries/_navigation.html.haml b/app/views/phone_book_entries/_navigation.html.haml
new file mode 100644
index 0000000..dd1e8a7
--- /dev/null
+++ b/app/views/phone_book_entries/_navigation.html.haml
@@ -0,0 +1,8 @@
+%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
+
+.pagination
+ = will_paginate @phone_book_entries