Skip to content

Commit

Permalink
Add folder dropdown to VM Migrate.
Browse files Browse the repository at this point in the history
  • Loading branch information
lfu committed Jun 7, 2018
1 parent a03b384 commit 8d7818b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/views/miq_request/_prov_vm_migrate_dialog.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@
:label => _("Resource Pool"),
:keys => keys})

- if wf.field_supported(:folder)
- keys = [:placement_folder_name]
= render(:partial => "/miq_request/prov_dialog_fieldset",
:locals => {:workflow => wf,
:dialog => dialog,
:label => _("Folder"),
:keys => keys})

- keys = [wf.field_supported(:host_filter) ? :host_filter : nil, :placement_host_name].compact
= render(:partial => "/miq_request/prov_dialog_fieldset",
:locals => {:workflow => wf,
Expand Down

0 comments on commit 8d7818b

Please sign in to comment.