Skip to content

Commit

Permalink
Fixes #37855 - Populate OS fields during host import
Browse files Browse the repository at this point in the history
  • Loading branch information
girijaasoni committed Dec 12, 2024
1 parent 4508c79 commit b69557e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/hosts/_operating_system.html.erb
Original file line number Diff line number Diff line change
@@ -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' => controller_name.singularize == 'compute_resources_vm' ? 'host' : controller_name.singularize,
:help_inline => :indicator, :required => true} %>

<span id="os_select">
Expand Down

0 comments on commit b69557e

Please sign in to comment.