Merge pull request #122 from ThomasRubini/recipe_edit_return

This commit is contained in:
Thomas Rubini 2023-01-26 16:35:17 +01:00 committed by GitHub
commit 9a0e6a542f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,11 @@ if ($O_recipe === null) {
?>
<main>
<?php
if ($O_recipe !== null) { ?>
<a href="/recipe/view/<?= $O_recipe->I_ID ?>">Retour</a>
<?php } ?>
<form action="<?= $A_view["POST_URI"] ?>" method="post">