diff options
| author | Luc Donnet | 2012-08-17 10:21:30 +0200 |
|---|---|---|
| committer | Luc Donnet | 2012-08-17 10:21:30 +0200 |
| commit | 201cfa5ffe2c5f98880fa7f6f2eafe1c3f7d917f (patch) | |
| tree | 7aa27d073650a482ff1264e88df2db07badbbcbb /app | |
| parent | f31e1b33845a5d154dd3c3451bc5e4a6c77b6e67 (diff) | |
| download | chouette-core-201cfa5ffe2c5f98880fa7f6f2eafe1c3f7d917f.tar.bz2 | |
Fix pagination for vehicle journeys Refs #107
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/vehicle_journeys/index.html.erb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/vehicle_journeys/index.html.erb b/app/views/vehicle_journeys/index.html.erb index 98266e2c8..6f650892d 100644 --- a/app/views/vehicle_journeys/index.html.erb +++ b/app/views/vehicle_journeys/index.html.erb @@ -16,6 +16,9 @@ <div class="page_info"> <span class="search"> <%= t("will_paginate.page_entries_info.search") %></span> <%= page_entries_info @vehicle_journeys %> </div> +<div class="pagination"> + <%= will_paginate @vehicle_journeys, :container => false %> +</div> <div class="vehicle_journeys paginated_content"> <table> <thead> @@ -54,6 +57,9 @@ </tbody> </table> </div> +<div class="pagination"> + <%= will_paginate @vehicle_journeys, :container => false %> +</div> <% content_for :sidebar do %> <ul class="actions"> <li> |
