<%= link_to t(:module_authorization), admin_authorizations_path(@module_app.key) %>
<%= link_to t(:category_auth), admin_authorizations_path(@module_app.key, type: 'category') %>
<%= link_to t(:approval_), admin_authorizations_path(@module_app.key, type: 'approval') %>
<% if @error %>
<%= @error %>
<% else %>
<%= select_tag :category, options_from_collection_for_select(@categories, "id", "title", @category.id), :onchange => "window.location.href = '/admin/authorizations/'+'#{@module_app.key}/#{@type}/'+$(this).val();" if @categories %>
<%= render partial: 'user', collection: @users %>
<% end %>