<%= javascript_include_tag 'member-selection'%>
<% @partial = "managers" %>

Managers

    <% if @managers.empty? %>
    No managers for this module
    <% else %> <%= render partial: 'user', collection: @managers %> <% end %>
<% if !@objects.nil? %> <% @partial = "sub_managers" %>

Sub Managers

<%= t(:category_disabled) %>
    <% if @sub_managers.empty? %>
    No sub managers for this module
    <% else %> <%= render partial: 'user', collection: @sub_managers %> <% end %>
<% end %>
<%= link_to content_tag(:i, nil, class: "icons-plus") + ' ' + t(:add), '#', class: 'btn btn-primary select_user_modal', rel: modal_select_authorizations_path(@module_app.key, @type, @object) %> <%= link_to content_tag(:i, nil, class: "icon-trash") + ' ' + t(:delete_), '#', id: 'remove_users', class: 'btn btn-danger hide', rel: remove_users_authorizations_path(@module_app.key, @type, @object) %>