Revision c6e02bd3
Added by Joseph Magen over 10 years ago
app/views/hosts/_compute.html.erb | ||
---|---|---|
<%= fields_for "#{type}[compute_attributes]", @host ? @host.compute_object : compute_resource.new_vm do |compute| %>
|
||
<%= fields_for "#{type}[compute_attributes]", @host ? @host.compute_object : compute_resource.new_vm(vm_attrs) do |compute| %>
|
||
<% if compute.object %>
|
||
<div id='update_not_supported' class='alert hide'><%= _("VM editing is not implemented for this provider") %></div>
|
||
<%= render :partial => "compute_resources_vms/form/#{compute_resource.provider.downcase}",
|
Also available in: Unified diff
fixes #3178 - add feature for compute profiles for hostgroups and hosts