Skip to content

Commit

Permalink
refactor: add pagination to add user page
Browse files Browse the repository at this point in the history
  • Loading branch information
im-machakata committed Apr 1, 2024
1 parent 7e4ab13 commit a7da9b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/Views/auth/add-user.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,12 @@
</div>
<?php foreach ($users as $user) : ?>
<div class="blockquote bg-white my-3 p-2 px-3 rounded">
<div class="small text-primary"><?= $user->Username ?></div>
<div class="small text-primary"><strong><?= $user->Username ?>.</strong></div>
<div class="h6 font-bold font-sm mb-2"><?= $user->Name . ' ' . $user->Surname ?></div>
</div>
<?php endforeach; ?>

<?= $pager ? $pager->links() : '' ?>
</div>
</div>
</div>
Expand Down

0 comments on commit a7da9b1

Please sign in to comment.