- if @sb[:active_tab] == "diagnostics_workers"
  - if x_node.split('-').first == "root"
    = render :partial => "diagnostics_database_tab"
  - else
    #main_div
      = render :partial => 'layouts/x_gtl'
  %div{:style => "padding-bottom: 20px"}

- if @sb[:active_tab] == "diagnostics_workers"
  - if x_node.split('-').first == "root"
    = render :partial => "diagnostics_database_tab"
  - else
    = render :partial => 'layouts/x_gtl'
  %div{:style => "padding-bottom: 20px"}

Fix duplicate main_div elements in server diagnostics workers tab
Fix duplicate main_div elements in server diagnostics workers tab
