Skip to content

Commit

Permalink
Replace old angular ansible tower form with a react based DDF
Browse files Browse the repository at this point in the history
  • Loading branch information
skateman committed Jul 22, 2020
1 parent e020142 commit 4be953f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/views/automation_manager/_form.html.haml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
= render :partial => 'configuration_manager/shared_form', :locals => {:url => "/automation_manager", :model => "automationManagerModel"}

- if @ems
-# FIXME: the redirect URL cannot be determined due to the explorer screen, but after a de-explorerization it should be possible to fix
= react('ProviderForm', :providerId => @ems.id.to_s, :redirect => automation_manager_path, :kind => 'automation', :title => ui_lookup(:model => 'ManageIQ::Providers::AutomationManager'))
- else
= react('ProviderForm', :redirect => automation_manager_path, :kind => 'automation', :title => ui_lookup(:model => 'ManageIQ::Providers::AutomationManager'))

0 comments on commit 4be953f

Please sign in to comment.