ManageIQ/manageiq-ui-classic

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

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class ApplicationHelper::Toolbar::AnsiblePlaybookCenter < ApplicationHelper::Toolbar::Basic
  button_group('ansible_playbooks_policy', [
                 select(
                   :ansible_playbooks_policy_choice,
                   nil,
                   t = N_('Policy'),
                   t,
                   :items => [
                     button(
                       :embedded_configuration_script_payload_tag,
                       'pficon pficon-edit fa-lg',
                       N_('Edit Tags for this Ansible Playbook'),
                       N_('Edit Tags'),
                     ),
                   ]
                 )
               ])
end