ajouter btn edit account page profile, lien cliquable img user connecté

This commit is contained in:
Yasder5 2026-02-19 20:38:19 +01:00
parent 09ec39c7bb
commit 190554d966
7 changed files with 28 additions and 22 deletions

View file

@ -23,7 +23,12 @@
{/if}
<p class="mt-3">{$user->getDescription()}</p>
{if $smarty.session.user.user_id == $user->getId()}
<a class="btn btn-sm btn-primary flex-fill"
href="?ctrl=user&action=edit">Edit account</a>
{/if}
</div>
</div>
</div>
</section>