ManageIQ/manageiq-ui-classic

View on GitHub
app/helpers/application_helper/toolbar/network_port_center.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class ApplicationHelper::Toolbar::NetworkPortCenter < ApplicationHelper::Toolbar::Basic
  button_group('network_port_policy', [
    select(
      :network_port_policy_choice,
      nil,
      t = N_('Policy'),
      t,
      :items => [
        button(
          :network_port_tag,
          'pficon pficon-edit fa-lg',
          N_('Edit Tags for this Network Port'),
          N_('Edit Tags')),
      ]
    ),
  ])
end