% content_for :secondary do %>
<% end %>
<%= @module_app.title %>
- Manager
<% @module_app.managers.each do |manager| %>
- <%= manager.user.name %> -AuthBy:<%= manager.rule_creator.name %> <%= link_to '[X]',remove_manager_admin_module_app_path(@module_app,manager),:method => :delete unless manager.user == current_user%>
<% end %>
- Add:
<%= form_tag(assign_manager_admin_module_app_path) do %>
<%= text_field_tag 'manager_id' %>
<%= submit_tag 'Add Manager' %>
<% end %>
- Sub Manager
<% @module_app.sub_managers.each do |manager| %>
- <%= manager.user.name %> -AuthBy:<%= manager.rule_creator.name %> <%= link_to '[X]',remove_sub_manager_admin_module_app_path(@module_app,manager),:method => :delete unless manager.user == current_user%>
<% end %>
- Add:
<%= form_tag(assign_sub_manager_admin_module_app_path) do %>
<%= text_field_tag 'sub_manager_id' %>
<%= submit_tag 'Add Sub Manager' %>
<% end %>