diff options
author | Peter Kozak <spag@golwen.net> | 2013-05-02 10:50:47 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-05-02 10:50:47 +0200 |
commit | 20570c967e0d63fd6d1644cd64e4c0c7859bc57f (patch) | |
tree | b5e021e7074fcede0bfc410fdcbf7f82a8861520 /app/views/sip_accounts | |
parent | 59a4200095e983f8dbb94a76603944dab9f06a41 (diff) |
pagination
Diffstat (limited to 'app/views/sip_accounts')
-rw-r--r-- | app/views/sip_accounts/_index_core.html.haml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/sip_accounts/_index_core.html.haml b/app/views/sip_accounts/_index_core.html.haml index 7f393d7..d91a3ef 100644 --- a/app/views/sip_accounts/_index_core.html.haml +++ b/app/views/sip_accounts/_index_core.html.haml @@ -1,6 +1,7 @@ -.pagination - - if defined?(users.total_pages) - = will_paginate users, :renderer => BootstrapPagination::Rails + +- if defined?(users.total_pages) + = will_paginate users, :renderer => BootstrapPagination::Rails, :previous_label => raw('<i class = "icon-chevron-left"></i>'), :next_label => raw('<i class = "icon-chevron-right"></i>') + %table.table.table-striped %thead %tr |