Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Check for correct permissions

Roland Geider40f4c6e144a0
diff --git a/wger/gym/templates/gym/list.html b/wger/gym/templates/gym/list.html
index 7f30ea272..09de5dbf7 100644
--- a/wger/gym/templates/gym/list.html
+++ b/wger/gym/templates/gym/list.html
@@ -30,7 +30,7 @@
{% endfor %}
</ul>
-{% if perms.core.add_gym %}
+{% if perms.gym.add_gym %}
<div class="pull-right">
<a href="{% url 'gym:gym:add' %}" class="btn btn-success btn-sm wger-modal-dialog">
{% trans "Add new gym" %}