aboutsummaryrefslogtreecommitdiff
path: root/views/profile/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/profile/index.php')
-rw-r--r--views/profile/index.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/views/profile/index.php b/views/profile/index.php
index a0ef2e7..c1e067d 100644
--- a/views/profile/index.php
+++ b/views/profile/index.php
@@ -29,12 +29,12 @@
</section>
<section id="userLists" hidden>
- <?php foreach($user->archiveLists() as $list): ?>
- <section>
- <?= $list->Name ?>
- <?= $list->Description ?>
- </section>
- <?php endforeach; ?>
+ <?php
+ foreach ($user->archiveLists() as $list) {
+ include $VIEWS_DIR . '/list/item.php';
+ }
+ include_once $VIEWS_DIR . '/list/item_show.php';
+ ?>
</section>
<script type="text/javascript">