ManageIQ/manageiq-ui-classic

View on GitHub
app/views/miq_ae_class/_class_props.html.haml

Summary

Maintainability
Test Coverage
#class_props_div
  - if x_node.split('-')[0] == "aec" || params[:pressed] || ["field_select","field_accept","field_delete"].include?(params[:action]) || (x_node.split('-')[0] == "aen" && params[:button] == "reset")
    - if !@in_a_form_props
      = class_properties_data(@sb[:namespace_path], @ae_class)
      = render :partial => "domain_overrides", :locals  => {:node_prefix => "aec", :model => "Class"}
    - else
      #form_div
        %div{:style => "padding-top: 10px;"}
        = render :partial => "class_form"