Project

General

Profile

« Previous | Next » 

Revision d5f47458

Added by Timo Goebel over 7 years ago

fixes #4166 - vmware: update cpus, memory for vms

View differences:

app/views/compute_resources_vms/form/vmware/_network.html.erb
<%= select_f f, :type, compute_resource.nictypes, :first, :last, { },
:class => "col-md-3 vmware_type",
:label => _('NIC type'), :label_size => "col-md-3"
:label => _('NIC type'), :label_size => "col-md-3", :disabled => !new_host
%>
<% if new_host %>
<%= select_f f, :network, vsphere_networks(compute_resource), :first, :last, { },
......
: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" %>
<%= text_f f, :network, :class => 'col-md-3 vmware_network', :label => _("Network"), :label_size => "col-md-3", :disabled => true %>
<% end %>

Also available in: Unified diff