{% extends "base.html" %} {% block title %}{% if editing %}Edit{% else %}Add{% endif %} subscriber - RadiusForge{% endblock %} {% block content %}

{% if editing %}Edit {{ editing.username }}{% else %}Add subscriber{% endif %}

{% if usage %}

Usage this period: {{ usage.text }}

{% endif %}

Hover over a field's label for an explanation.

{% csrf_token %} {% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %} {{ form.organization }} {% for field in form %} {% if field.name != "organization" %} {{ field }} {% if field.help_text %}
{{ field.help_text }}
{% endif %} {% if field.errors %}
{{ field.errors }}
{% endif %} {% endif %} {% endfor %}
Cancel
{% if editing %}

Advanced attributes

Extra RADIUS attributes for this subscriber alone, on top of the Static IP above: a routed subnet to a CPE (Framed-Route), a netmask, a firewall filter and more. Pick from the list rather than typing a raw attribute name; each option explains the value it expects.

{% if extra_attributes %} {% for extra in extra_attributes %} {% endfor %}
AttributeValueActions
{{ extra.attribute }} {{ extra.value }}
{% csrf_token %}
{% else %}

No advanced attributes on this subscriber.

{% endif %}
{% csrf_token %} {{ attribute_form.attribute }} {{ attribute_form.value }}
{% endif %} {% if editing and cancelled %} {% if can_delete %}

{{ editing.username }} is cancelled. Delete {{ editing.username }} - you will be asked to confirm.

{% else %}

{{ editing.username }} is cancelled. The Organization's Owner can delete them.

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