Html->link(__(''), ['action' => 'edit', $group->id], ['title' => 'Editer', 'style' => 'margin: 0 2px', 'escape' => false ]);
if (in_array($role, ['Super Administrateur']))
echo $this->Form->postLink(__(''), ['action' => 'delete', $group->id], ['title' => 'Supprimer', 'style' => 'margin: 0 2px', 'escape' => false, 'confirm' => __('Êtes-vous sur de vouloir supprimer ce groupe ?', $group->id)]);
//echo $this->Form->postLink(__(''), ['action' => 'delete', $group->id], ['title' => 'Supprimer', 'style' => 'margin: 0 2px', 'escape' => false, 'confirm' => __('Êtes-vous sur de vouloir supprimer # {0}?', $group->id)]);
?>
|
= $this->Html->link($group->nom, ['action' => 'view', $group->id]) ?> |
description = null;
$description_first_line = explode("\n", $group->description)[0];
//debug($description_short);
//$description_short = $description_short[0];
?>
=h($description_first_line)?> |