ManageIQ/manageiq-ui-classic

View on GitHub
app/views/vm/edit.html.haml

Summary

Maintainability
Test Coverage
#main_div
  = render :partial => "layouts/flash_msg"
  = react('VmEditForm', {:recordId    => @record.id&.to_s,
                         :emsId       => @record.ems_id&.to_s,
                         :showTitle   => !@edit[:explorer],
                         :isTemplate  => @record.kind_of?(::MiqTemplate),
                         :displayName => model_for_vm(@record).display_name})