#main_div
  - if ["instances"].include?(@display) && @showtype != "compare"
    = render :partial => "layouts/gtl", :locals => {:action_url => "show/#{@record.id}"}
  - elsif @showtype == 'main'
    = render(:partial => 'main')

#main_div
  - if ["instances", "cloud_subnets"].include?(@display) && @showtype != "compare"
    = render :partial => "layouts/gtl", :locals => {:action_url => "show/#{@record.id}"}
  - elsif @showtype == 'main'
    = render(:partial => 'main')

Allow cloud_subnet to show nested cloud_subnet
Allow cloud_subnet to show nested cloud_subnet

Allow cloud_subnet to show nested cloud_subnet
