diff --git a/machines/templates/machines/aff_extension.html b/machines/templates/machines/aff_extension.html
index 1feec748..44061b1b 100644
--- a/machines/templates/machines/aff_extension.html
+++ b/machines/templates/machines/aff_extension.html
@@ -48,7 +48,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{{ extension.origin_v6 }} |
{% endif %}
- {% can_create Extension %}
+ {% can_edit extension %}
{% include 'buttons/edit.html' with href='machines:edit-extension' id=extension.id %}
{% acl_end %}
{% include 'buttons/history.html' with href='machines:history' name='extension' id=extension.id %}
diff --git a/machines/templates/machines/aff_vlan.html b/machines/templates/machines/aff_vlan.html
index 2e3d99b4..de49c7a6 100644
--- a/machines/templates/machines/aff_vlan.html
+++ b/machines/templates/machines/aff_vlan.html
@@ -42,7 +42,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
| {{ vlan.comment }} |
{% for range in vlan.iptype_set.all %}{{ range }}, {% endfor%} |
- {% can_create Vlan %}
+ {% can_edit vlan %}
{% include 'buttons/edit.html' with href='machines:edit-vlan' id=vlan.id %}
{% acl_end %}
{% include 'buttons/history.html' with href='machines:history' name='vlan' id=vlan.id %}
|