From de2fb7dc9cb3d0b58f7fd417b7c19d5d3cb04c6d Mon Sep 17 00:00:00 2001 From: Benjamin Date: Sun, 5 Mar 2023 19:53:56 +0100 Subject: [PATCH] add edit-recipe-name --- recipes/templates/recipe.html | 1 + recipes/templates/version.html | 1 + recipes/urls.py | 1 + recipes/views.py | 15 +++++++++++++++ 4 files changed, 18 insertions(+) diff --git a/recipes/templates/recipe.html b/recipes/templates/recipe.html index 0dfa759..6a932f0 100644 --- a/recipes/templates/recipe.html +++ b/recipes/templates/recipe.html @@ -3,6 +3,7 @@ {% block main %}

{{ recipe.title }}

{% if perms.recipes.add_recipe %} +

Edit recipe name

Add version

{% endif %}