ManageIQ/manageiq-ui-classic

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

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class ApplicationHelper::Toolbar::ContainerImageRegistryCenter < ApplicationHelper::Toolbar::Basic
  button_group('container_image_registry_policy', [
    select(
      :container_image_registry_policy_choice,
      nil,
      t = N_('Policy'),
      t,
      :items => [
        button(
          :container_image_registry_tag,
          'pficon pficon-edit fa-lg',
          N_('Edit Tags for this Image Registry'),
          N_('Edit Tags')),
      ]
    ),
  ])
end