diff --git a/preferences/templates/preferences/aff_radiusoptions.html b/preferences/templates/preferences/aff_radiusoptions.html
index b434319d..60ee15f5 100644
--- a/preferences/templates/preferences/aff_radiusoptions.html
+++ b/preferences/templates/preferences/aff_radiusoptions.html
@@ -45,50 +45,50 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% trans "Unknown machine" %} |
- {% if radiusoptions.unknown_machine.policy == 'REJECT' %}
+ {% if radiusoptions.unknown_machine == 'REJECT' %}
{% trans "Reject" %}
{% else %}
- Vlan {{ radiusoptions.unknown_machine.vlan }}
+ Vlan {{ radiusoptions.unknown_machine_vlan }}
{% endif %}
|
{% trans "Unknown port" %} |
- {% if radiusoptions.unknown_port.policy == 'REJECT' %}
+ {% if radiusoptions.unknown_port == 'REJECT' %}
{% trans "Reject" %}
{% else %}
- Vlan {{ radiusoptions.unknown_port.vlan }}
+ Vlan {{ radiusoptions.unknown_port_vlan }}
{% endif %}
|
{% trans "Unknown room" %} |
- {% if radiusoptions.unknown_room.policy == 'REJECT' %}
+ {% if radiusoptions.unknown_room == 'REJECT' %}
{% trans "Reject" %}
{% else %}
- Vlan {{ radiusoptions.unknown_room.vlan }}
+ Vlan {{ radiusoptions.unknown_room_vlan }}
{% endif %}
|
{% trans "Non member" %} |
- {% if radiusoptions.non_member.policy == 'REJECT' %}
+ {% if radiusoptions.non_member == 'REJECT' %}
{% trans "Reject" %}
{% else %}
- Vlan {{ radiusoptions.non_member.vlan }}
+ Vlan {{ radiusoptions.non_member_vlan }}
{% endif %}
|
{% trans "Banned user" %} |
- {% if radiusoptions.unknown_port.policy == 'REJECT' %}
+ {% if radiusoptions.unknown_port == 'REJECT' %}
{% trans "Reject" %}
{% else %}
- Vlan {{ radiusoptions.banned.vlan }}
+ Vlan {{ radiusoptions.banned_vlan }}
{% endif %}
|