Commit 8acd7f55 authored by nazarf's avatar nazarf

add number to list

git-svn-id: https://svn.sp-service.com.ua/svnroot/svn/node-stats/branches/nazar_trunk@14 320591d9-fe85-4a77-9bad-1a723db14d60
parent 42a1744d
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
%table.table.table-striped %table.table.table-striped
%thead %thead
%tr %tr
%th Name %th #
%th Domain %th Domain
%th Ipv4 %th Ipv4
%th Ipv6 %th Ipv6
...@@ -49,9 +49,9 @@ ...@@ -49,9 +49,9 @@
%th=t 'helpers.actions' %th=t 'helpers.actions'
%tbody %tbody
- @nodes.each do |node| - @nodes.each_with_index do |node, index|
%tr %tr
%td= node.name %td= index
%td= link_to node.domain, node_path(node) %td= link_to node.domain, node_path(node)
%td= node.ipv4 %td= node.ipv4
%td= node.ipv6 %td= node.ipv6
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment