<% if ip_addresses.length > 0 %>

Add new address

<% ip_addresses.each do |ip| %> <% end %>
Address DNS Name Comments
<%= ip.address %> <%= ip.dns_name %> <%= ip.comment %>
<% else %>

There are no IP addresses to show at this time. Trying adding some.

<% end %>