diff options
Diffstat (limited to 'app/views/net')
-rw-r--r-- | app/views/net/_plist.rhtml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/views/net/_plist.rhtml b/app/views/net/_plist.rhtml new file mode 100644 index 0000000..11bb8f4 --- /dev/null +++ b/app/views/net/_plist.rhtml @@ -0,0 +1,16 @@ + +<table> + <tr> + <th>Netz IP</th> + <th>Netmask</th> + <th>Kommentar</th> + </tr> + <% @nets.each do |net| %> + <tr> + <td><%= net.netip %></td> + <td><%= net.netmask %></td> + <td><%= net.comment %></td> + </tr> + <% end %> +</table> +<p></p> |