?> <div class="row"> <table class="table table-striped"> <thead> <tr> <th>#</th> <th>Libellé</th> <th>Statut</th> <th>Action</th> </tr> </thead> <tbody> <?php // @var $location Location foreach ($localDao->getAll() as $location) { ?> <tr> <td><?php echo $location->getId(); ?> </td> <td><?php echo $location->getName(); ?> </td> <td><?php echo $location->getStatus() == 1 ? 'Actif' : 'Inactif'; ?> </td> <td>