Sha256: da7f0d67ef5b53144c88101331c3ebe58067b4a71867b87f922f2d0c40e533fc

Contents?: true

Size: 846 Bytes

Versions: 8

Compression:

Stored size: 846 Bytes

Contents

<%= webpacked_plugins_js_for :foreman_ansible %>

<div class='tab-pane' id='ansible_roles'>
  <% class_name = f.object.is_a?(Hostgroup) ? 'Hostgroup' : 'Host' %>
  <%= react_component('AnsibleRolesSwitcher', {
                                                :initialAssignedRoles => role_attributes_for_roles_switcher(f.object),
                                                :inheritedRoleIds => f.object.inherited_ansible_roles.map(&:id),
                                                :availableRolesUrl => ui_ansible_roles_path,
                                                :resourceId => f.object.id,
                                                :resourceName => class_name,
                                                :canView => User.current.can?(:view_ansible_roles)
                                              }) %>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
foreman_ansible-15.0.2 app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb
foreman_ansible-15.0.1 app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb
foreman_ansible-15.0.0 app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb
foreman_ansible-14.2.2 app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb
foreman_ansible-14.2.1 app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb
foreman_ansible-14.2.0 app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb
foreman_ansible-14.1.1 app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb
foreman_ansible-14.1.0 app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb