class ApplicationHelper::Toolbar::HostInitiatorGroupsCenter < ApplicationHelper::Toolbar::Basic
  button_group(
    'host_initiator_group_vmdb',
    [
      select(
        :host_initiator_vmdb_choice,
        nil,
        t = N_('Configuration'),
        t,
        :items => [
          button(
            :host_initiator_refresh,
            'fa fa-refresh fa-lg',
            N_('Refresh relationships and power states for all items related to these Host Initiators Cluster'),
            N_('Refresh Relationships and Power States'),
            :image   => "refresh",
            :data    => {'function'      => 'sendDataWithRx',
                         'function-data' => {:type => "refresh", :controller => "hostInitiatorGroupToolbarController"}},
            :confirm => N_("Refresh relationships and power states for all items related to these Host Initiators Cluster?"),
            :options => {:feature => :refresh}
          ),
          button(
            :host_initiator_group_new,
            'pficon pficon-add-circle-o fa-lg',
            t = N_('Add new host initiator group'),
            t,
            :klass => ApplicationHelper::Button::HostInitiatorGroupNew
          ),
        ]
      ),
    ]
  )
end
