Edit user retour ou accueil selon droits

This commit is contained in:
Fred Tempez 2020-07-09 19:25:24 +02:00
parent 0f2bba19d2
commit 91accd2c0d
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<?php echo template::formOpen('userEditForm'); ?>
<div class="row">
<div class="col2">
<?php if($this->getUrl(3)): ?>
<?php if($this->getUser('group') === self::GROUP_ADMIN): ?>
<?php echo template::button('userEditBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl() . 'user',