ManageIQ/manageiq-ui-classic

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

Summary

Maintainability
A
0 mins
Test Coverage
class ApplicationHelper::Toolbar::ZonesCenter < ApplicationHelper::Toolbar::Basic
  button_group('scan_vmdb', [
    select(
      :zone_vmdb_choice,
      nil,
      t = N_('Configuration'),
      t,
      :items => [
        button(
          :zone_new,
          'pficon pficon-add-circle-o fa-lg',
          t = N_('Add a new Zone'),
          t,
          :klass => ApplicationHelper::Button::ButtonNewDiscover),
      ]
    ),
  ])
end