<%= manager_group.name %> <% if manager_group.admin? %> (访问权限范围:客户列表中的全部客户) <% else %> (访问权限范围:客户列表中“权限控制”勾选了本组的客户) <% end %>
<% unless manager_group.admin? %> <%= link_to 'javascript:void(0)', class: 'action', data: { toggle: 'modal', target: '.partner-save-manager-group-modal', id: manager_group.id, name: manager_group.name } do %> <% end %> <%= delete_link '删除', remove_manager_group_partner_path(current_partner, manager_group_id: manager_group.id, element: ".manager-group-item-#{manager_group.id}"), class: 'action text-danger' do %> <% end %> <% end %>
<%= render partial: 'partners/shared/partner_managers', locals: { manager_group: manager_group } %>