diff --git a/app/views/compute_resources_vms/form/vmware/_network.html.erb b/app/views/compute_resources_vms/form/vmware/_network.html.erb index 2631ded4349..8a2c5113474 100644 --- a/app/views/compute_resources_vms/form/vmware/_network.html.erb +++ b/app/views/compute_resources_vms/form/vmware/_network.html.erb @@ -5,5 +5,5 @@ <% cluster_id = params.fetch(:host, {}).fetch(:compute_attributes, {}).fetch(:cluster, nil).presence %> <%= select_f f, :network, vsphere_networks(compute_resource), :first, :last, { }, :class => "col-md-3 vmware_network", - :size => "col-md-8", :disabled => !new_vm, + :size => "col-md-8", :label => _('Network'), :label_size => "col-md-3" %> diff --git a/app/views/hosts/_operating_system.html.erb b/app/views/hosts/_operating_system.html.erb index 538a47ac43f..e04793f6b19 100644 --- a/app/views/hosts/_operating_system.html.erb +++ b/app/views/hosts/_operating_system.html.erb @@ -1,6 +1,6 @@ <%= select_f f, :architecture_id, accessible_resource(f.object, :architecture), :id, :to_label, {:include_blank => true}, - {:onchange => 'architecture_selected(this);', :'data-url' => method_path('architecture_selected'), :'data-type' => controller_name.singularize, + {:onchange => 'architecture_selected(this);', :'data-url' => method_path('architecture_selected'), :'data-type' => "host", :help_inline => :indicator, :required => true} %>