Skip to content

Commit

Permalink
Updated Dialog Reconfigure Request Summary Page to React
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidResende0 committed Nov 1, 2023
1 parent 37e0375 commit 49bfe0e
Showing 1 changed file with 3 additions and 25 deletions.
28 changes: 3 additions & 25 deletions app/views/miq_request/_service_reconfigure_show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,6 @@
- values = @miq_request.options[:dialog]
- opts = {:reconfigure => true}
- wf = ResourceActionWorkflow.new(values, current_user, ra, opts)
%fieldset
%h3
= _("Dialog Options")
.row
.col-md-12.col-lg-12
#dialog_tabs
%ul.nav.nav-tabs{'role' => 'tablist'}
- wf.dialog.dialog_tabs.each_with_index do |tab, tab_index|
- options = tab_index == 0 ? {:class => "active"} : {}
= miq_tab_header(tab.id, nil, options) do
= _(tab.label)
.tab-content
- wf.dialog.dialog_tabs.each_with_index do |tab, tab_index|
- options = tab_index == 0 ? {:class => "active"} : {}
= miq_tab_content(tab.id, nil, options) do
- tab.dialog_groups.each do |group|
%div{:id => "group_#{group.id}_div"}
%h3{:title => "#{group.description}"}
= _(group.label)
- unless group.dialog_fields.empty?
.form-horizontal
- group.dialog_fields.each do |field|
= render :partial => "miq_request/request_dialog_details",
:locals => {:wf => wf, :field => field}
%hr
%h3
= _("Dialog Options")
= request_dialog_options(wf)

0 comments on commit 49bfe0e

Please sign in to comment.