ManageIQ/manageiq-ui-classic

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

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class ApplicationHelper::Toolbar::ContainerRouteCenter < ApplicationHelper::Toolbar::Basic
  button_group('container_route_policy', [
    select(
      :container_route_policy_choice,
      nil,
      t = N_('Policy'),
      t,
      :items => [
        button(
          :container_route_tag,
          'pficon pficon-edit fa-lg',
          N_('Edit Tags for this Route'),
          N_('Edit Tags')),
      ]
    ),
  ])
end