-
<%= link_to t(:module_authorization), "#module_auth", :class => "active", :data => {"toggle" => "tab", "for" => "managers"} if @module_app.authorizable %>
<% if !@objects.nil? %>
-
<% @module_app.authorizable_models.each do |authorizable_model| %>
<%= link_to (authorizable_model.eql?('Category') ? t(:category_auth) : "#{authorizable_model.underscore.humanize.capitalize} #{t(:authorization_)}"), "#category_auth" , :data => {"toggle" => "tab", "for" => "sub_managers"} %>
<% end %>
<% end %>
<% @partial = "managers" %>
<% if !@objects.nil? %>
<% @partial = "sub_managers" %>
Sub Managers
<%= t(:category_disabled) %>
<% end %>