ManageIQ/manageiq-ui-classic

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

Summary

Maintainability
A
20 mins
Test Coverage
A
100%
class ApplicationHelper::Toolbar::InfraNetworkingsCenter < ApplicationHelper::Toolbar::Basic
  button_group('infra_networking_policy', [
                                          select(
                                            :infra_networking_policy_choice,
                                            nil,
                                            t = N_('Policy'),
                                            t,
                                            :enabled => false,
                                            :onwhen  => "1+",
                                            :items   => [
                                              button(
                                                :infra_networking_tag,
                                                'pficon pficon-edit fa-lg',
                                                N_('Edit Tags for the selected Network Elements'),
                                                N_('Edit Tags'),
                                                :url_parms    => "main_div",
                                                :send_checked => true,
                                                :enabled      => false,
                                                :onwhen       => "1+"),
                                            ]
                                          ),
                                        ])
end