diff options
| -rw-r--r-- | data/templates/recipe.html | 2 | ||||
| -rw-r--r-- | data/templates/recipe_confirm_deletion.html | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/data/templates/recipe.html b/data/templates/recipe.html index 972a8bf..348a44d 100644 --- a/data/templates/recipe.html +++ b/data/templates/recipe.html @@ -16,7 +16,7 @@  		<main>  			{{.Html}} -			<a href="./recipe/edit?id={{.Id}}"><button>edit</button></a> +			<a href="/recipe/edit?id={{.Id}}"><button>edit</button></a>  			{{ template "footer.html" }}  		</main> diff --git a/data/templates/recipe_confirm_deletion.html b/data/templates/recipe_confirm_deletion.html index 08c981d..f19901c 100644 --- a/data/templates/recipe_confirm_deletion.html +++ b/data/templates/recipe_confirm_deletion.html @@ -19,7 +19,7 @@  			<form action="/recipe/confirm-deletion?id={{.Id}}" method="POST">  				<button style="background-color:red" type="submit">delete</button>  			</form> -			<a href="/recipe?id={{.Id}}"><button>cancel</button></a> +			<a href="/recipe/edit?id={{.Id}}"><button>cancel</button></a>  			{{ template "footer.html" }}  		</main>  	</body> | 
