aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorLuc Donnet2012-08-17 10:21:30 +0200
committerLuc Donnet2012-08-17 10:21:30 +0200
commit201cfa5ffe2c5f98880fa7f6f2eafe1c3f7d917f (patch)
tree7aa27d073650a482ff1264e88df2db07badbbcbb /app
parentf31e1b33845a5d154dd3c3451bc5e4a6c77b6e67 (diff)
downloadchouette-core-201cfa5ffe2c5f98880fa7f6f2eafe1c3f7d917f.tar.bz2
Fix pagination for vehicle journeys Refs #107
Diffstat (limited to 'app')
-rw-r--r--app/views/vehicle_journeys/index.html.erb6
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>