{% extends 'root/base.html' %} {% load static %} {% block title %} User Adminstartion {% endblock %} {% block maincontent %} {% include 'root/loader.html' %}
User Administration

{% csrf_token %}

{% csrf_token %} {{ user_list_form.non_field_errors }} {% for field in user_list_form %} {% if forloop.counter > 1 %}
{{ field.errors }}
{{ field.label_tag }}
{{ field }}

{% else %}
{{ field.errors }}
{{ field.label_tag }}
{{ field }}

{% endif %} {% endfor %}



{% if t_count > 0 %}
Total number of results found :{{t_count}}
{% endif %} {% if t_count == 0 %}
No Results Found
{% endif %}
{% if inp_user_type == 'USER' %} {% if user_list %} {% for user in user_list %} {% endfor %}
USERNAME FIRST NAME LAST NAME EMAIL ACTIVE SUPER USER EMPLOYEE ID USER TYPE LOGIN ATTEMPTS USER LOCKED PASSWORD LOCKED TIMEZONE
{{user.username}} {{user.first_name}} {{user.last_name}} {{user.email}} {{user.is_active}} {{user.is_superuser}} {{user.employee_id}} {{user.user_type}} {{user.login_attempts}} {{user.user_locked}} {{user.pwd_locked}} {{user.time_zone}}

{% endif %} {% else %} {% if user_list %} {% for sup in user_list %} {% endfor %}
SUPPLIER ID SUPPLIER TYPE NAME CITY EMAIL ACTIVE COUNTRY CURRENCY
{{sup.supplier_id}} {{sup.supp_type}} {{sup.name1}} {{sup.city}} {{sup.email}} {{sup.is_active}} {{sup.country_code}} {{sup.currency_id}}

{% endif %} {% endif %}
{% endblock %}