diff --git a/view/list.php b/view/list.php index 864ebdb6306644a1de724d297cfdcc793b231b30..29f77aff2e217285de7525f88e04843177ec755b 100644 --- a/view/list.php +++ b/view/list.php @@ -3,6 +3,7 @@ <div class="page-header"> <h1><?php echo $list->getTitle(); ?></h1> </div> + <?php try {Â ?> <table class="table"> <thead> <?php foreach($list->getLabels() as $field): ?> @@ -21,4 +22,7 @@ <?php endforeach; ?> </tbody> </table> + <?php } catch(Exception $e) {Â + echo $e->getMessage(); + } ?> </div> \ No newline at end of file