{% extends 'squid/auth/label.html' %} {% block auth_users %}class="active"{%endblock%} {% block tab_content %}
{% if form.non_field_errors %}
ERROR: {% for error in form.non_field_errors %} {{ error|escape }} {% endfor %}
{% endif %}
{% csrf_token %}
{{form.user_name}} {% if form.user_name.errors %} {{form.user_name.errors|striptags}} {% else %} Specify the name (label) of the new user. This name must be unique. Please note the name is case-sensitive, i.e. john and John are two different names! {%endif%}
{{form.user_ip}} {% if form.user_ip.errors %} {{form.user_ip.errors|striptags}} {% else %} Specify the IP address that will be mapped to the name shown above. For example, 192.168.1.1 {%endif%}
{{form.user_mac}} {% if form.user_mac.errors %} {{form.user_mac.errors|striptags}} {% else %} Specify the MAC address that will be mapped to the name shown above (UPPER CASE). For example, 12:34:56:78:9A:BC. Please note in order to be able to use MAC addresses your device must be directly connected to Squid. There should be no routers/load balancers in-between. {%endif%}
{{form.comment}} {% if form.comment.errors %} {{form.comment.errors|striptags}} {% else %} Specify comment for your own use. {%endif%}
{% endblock %}