Project

General

Profile

« Previous | Next » 

Revision 4ca92155

Added by avi tal over 8 years ago

fixes #11220 - column ambiguity for non-admin host creation

View differences:

app/views/hosts/_form.html.erb
},
:help_inline => :indicator } %>
<%= select_f f, :compute_resource_id, ComputeResource.with_taxonomy_scope_override(@location,@organization).authorized(:view_compute_resources).order(:name), :id, :to_label,
<%= select_f f, :compute_resource_id, ComputeResource.with_taxonomy_scope_override(@location,@organization).authorized(:view_compute_resources).order('compute_resources.name'), :id, :to_label,
{ :include_blank => _('Bare Metal') },
{:label => _('Deploy on'), :disabled => !@host.new_record?, :'data-url' => compute_resource_selected_hosts_path,
:onchange => 'computeResourceSelected(this);',

Also available in: Unified diff