|
<%= select_f f, :type, compute_resource.nictypes, :first, :last, { },
|
|
:class => "col-md-3 vmware_type",
|
|
:label => _('NIC type'), :label_size => "col-md-3"
|
|
%>
|
|
<% if new_host %>
|
|
<%= select_f f, :network, vsphere_networks(compute_resource), :first, :last, { },
|
|
:class => "col-md-3 vmware_network",
|
|
:label => _('Network'), :label_size => "col-md-3"
|
|
%>
|
|
<% else %>
|
|
<%= text_f f, :network, :class => 'col-md-3 vmware_network', :label => _("Network"), :label_size => "col-md-3" %>
|
|
<% end %>
|