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 authored and stejskalleos committed Dec 12, 2024
1 parent b32b6b1 commit 07b5754
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 07b5754

Please sign in to comment.