Listing networks

<% for network in @networks %> <% end %>
Name State Panels
<%= link_to h(network.name), :action => 'show', :id => network %> <%= h network.active %> <%= network.panels.count %> <%= link_to 'Delete', { :action => 'destroy', :id => network }, :confirm => "About to delete network '#{network.name}'\nAre you sure?", :method => :post %>
<%= link_to 'Previous page', { :page => @network_pages.current.previous } if @network_pages.current.previous %> <%= link_to 'Next page', { :page => @network_pages.current.next } if @network_pages.current.next %>
<%= link_to 'New network', :action => 'new' %>