aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/networks
diff options
context:
space:
mode:
authorLuc Donnet2012-04-27 17:29:16 +0200
committerLuc Donnet2012-04-27 17:29:16 +0200
commitd59e99401695d12b28f917bdc6cdf09922fd488c (patch)
tree6b2e8f97ee9dbef44ecbf60ac505976f96b95e19 /app/views/networks
parent1419f9623556da9f3e805a62ba13a4c428352316 (diff)
downloadchouette-core-d59e99401695d12b28f917bdc6cdf09922fd488c.tar.bz2
Add counter to list objects for index
Diffstat (limited to 'app/views/networks')
-rw-r--r--app/views/networks/index.html.erb12
1 files changed, 9 insertions, 3 deletions
diff --git a/app/views/networks/index.html.erb b/app/views/networks/index.html.erb
index 4514939f1..825bb3dcb 100644
--- a/app/views/networks/index.html.erb
+++ b/app/views/networks/index.html.erb
@@ -8,12 +8,18 @@
<%= link_to t("cancel"), referential_networks_path(@referential) %>
<% end %>
-<%= will_paginate @networks %>
+<div class="pagination">
+ <div class="page_info">
+ <%= page_entries_info @networks %>
+ </div>
+ <%= will_paginate @networks, :container => false %>
+</div>
<div class="networks paginated_content">
<%= render :partial => "network", :collection => @networks %>
</div>
-<%= will_paginate @networks %>
-
+<div class="pagination">
+ <%= will_paginate @networks, :container => false %>
+</div>
<% content_for :sidebar do %>
<ul class="actions">