{% extends 'layout.html' %} {% load static %} {% load crispy_forms_tags %} {% block content %} {% if all_profiles %}
| USER | ROLE | ANALYSIS | INSPECTION | ACTIONS | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CAN INITIATE | CAN SUBMIT | UNIT HEAD | CAN APPROVE | CAN INITIATE | CAN SUBMIT | UNIT HEAD | CAN APPROVE | ||||
| {{ forloop.counter }} | {{ p.user__first_name }} {{ p.user__last_name }} | {{ p.role }} | {% if p.user_can_initiate %}{% else %}{% endif %} | {% if p.user_can_submit %}{% else %}{% endif %} | {% if p.user_can_unit_head_check %}{% else %}{% endif %} | {% if p.user_can_approve %}{% else %}{% endif %} | {% if p.user_can_initiate_inspection %}{% else %}{% endif %} | {% if p.user_can_submit_inspection %}{% else %}{% endif %} | {% if p.user_can_unit_head_check_inspection %}{% else %}{% endif %} | {% if p.user_can_approve_inspection %}{% else %}{% endif %} | |