Listing port_pkgs

<% for column in PortPkg.content_columns %> <% end %> <% for port_pkg in @port_pkgs %> <% for column in PortPkg.content_columns %> <% end %> <% end %>
<%= column.human_name %>
<%=h port_pkg.send(column.name) %><%= link_to 'Show', :action => 'show', :id => port_pkg %> <%= link_to 'Edit', :action => 'edit', :id => port_pkg %> <%= link_to 'Destroy', { :action => 'destroy', :id => port_pkg }, :confirm => 'Are you sure?', :method => :post %>
<%= link_to 'Previous page', { :page => @port_pkg_pages.current.previous } if @port_pkg_pages.current.previous %> <%= link_to 'Next page', { :page => @port_pkg_pages.current.next } if @port_pkg_pages.current.next %>