%
content_for :section_title, "Admin Dashboard"
%>
## Admin
Users | Dept/Unit | Quizzes | Candidates | Results | Profile | Logout
## Manager
Quizzes | Results | Profile | Logout
## Recruiter
Results | Profile | Logout
## Reviewer
Candidates | Profile | Logout
<% if policy(Quiz).index? %>
Quizzes
<%= render partial: 'admin/quiz/table_list', locals: { quizzes: @quizzes } %>
<%= link_to('New Quiz', admin_new_quiz_path, { class: 'btn' }) %>
<% end %>
<% if policy(User).index? %>
Users
<%= render partial: 'admin/user/table_list', locals: { users: @users } %>
<%= link_to('New User', admin_new_user_path, { class: 'btn' }) %>
<% end %>