{% from 'include/input_macros.html' import input, checkbox %} {% if not adding %} {% if page != "servers.py" %} {% endif %} {% endif %} {% for user in users %} {% if page != "servers.py" %} {% endif %} {% endfor %} {% if not adding %}
Login Password Active Email RoleGroupServices
{% set login_id = 'login-' + user.user_id|string() %} {% if user.6 == 1%} {{ input(login_id, value=user.username, readonly='readonly') }} {% else %} {{ input(login_id, value=user.username) }} {% endif %} {% if user.6 != 1%} {% endif %} {% set activeuser_id = 'activeuser-' + user.user_id|string() %} {% if user.activeuser == 1 %} {{ checkbox(activeuser_id, checked='checked') }} {% else %} {{ checkbox(activeuser_id) }} {% endif %} {% set email_id = 'email-' + user.user_id|string() %} {% if user.ldap_user == 1%} {{ input(email_id, value=user.email, readonly='readonly') }} {% else %} {{ input(email_id, value=user.email, type='email') }} {% endif %}

+ Add

{% endif %}