ManageIQ/manageiq-ui-classic

View on GitHub
app/views/ops/_rbac_group_selected.html.haml

Summary

Maintainability
Test Coverage
#group_selected
  - if @edit[:new][:group].present?
    - selected_groups = Rbac.filtered(MiqGroup.find(@edit[:new][:group])).map(&:description).sort
    - selected_groups.each do |g|
      %i.ff.ff-group
      = g
      %br