Project

General

Profile

« Previous | Next » 

Revision 4d8b2799

Added by Ohad Levy over 12 years ago

  • ID 4d8b27996f4ba9a0b879295c48aac876e58038ce

refs #1201 - adds the ability not to import all subnets

TODO: redo this at some point with checkboxes

View differences:

app/views/subnets/_fields.html.erb
<%= f.text_field :mask, :title => "netmask for this subnet", :class => "last" %>
</p>
<p>
<%= f.label :ranges, nil, :class => "span-3" %>
<%= f.text_field :ranges, :title => "A list of comma separated single IPs or start-end couples.", :class => "last" %>
</p>
<p title="DHCP Proxy to use within this subnet">
<%= f.label :dhcp_id, "DHCP Proxy", :class => "span-3" %>
<%= f.collection_select :dhcp_id, Feature.find_by_name("DHCP").smart_proxies, :id, :name, {:include_blank => "None"}, {:class => "last"} %>
......
<%= f.label :vlanid, nil, :class => "span-3" %>
<%= f.text_field :vlanid, :class => "last" %>
</p>
<p>
<%= f.label :priority, nil, :class => "span-3"%>
<%= f.text_field :priority, :class => "last"%>
</p>

Also available in: Unified diff