ManageIQ/manageiq-ui-classic

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

Summary

Maintainability
Test Coverage
= render :partial => 'form'
= react('ActionForm', 
         :recordId => @action.id.to_s,
         :inheritTags => @edit[:cats],
         :availableAlerts => @edit[:allAlertChoices].sort,
         :tags => @tags_select,
         :ansibleInventory => @edit[:ansible_playbooks],
         :snapshotAge => MiqPolicyHelper::SNAPSHOT_AGES.invert.to_a.sort_by(&:last),
         :parentType => @edit[:tag_parent_types],
         :inventoryType => @edit[:new][:inventory_type])