add 'Retour' button to recipe/edit

This commit is contained in:
Thomas Rubini 2023-01-26 16:34:52 +01:00
parent 154f731fef
commit da190e22bc
No known key found for this signature in database
GPG Key ID: C7D287C8C1CAC373

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">