diff --git a/cookbook/templates/books.html b/cookbook/templates/books.html index 7c821467f..f38c33623 100644 --- a/cookbook/templates/books.html +++ b/cookbook/templates/books.html @@ -23,13 +23,20 @@
{{ b.book.description }}
{% endif %} {% trans 'Toggle Recipes' %} - {% trans 'Edit' %} - {% trans 'Delete' %} + {% if b.book.created_by == request.user or request.user.is_superuser %} + {% trans 'Edit' %} + {% trans 'Delete' %} + {% endif %}