| 1234567891011121314151617181920212223242526272829 |
- <div class="container mt-3 py-4">
- <h2><?=htmlspecialchars(_("Select Practice Form"))?></h2>
- <?php
- if(empty($templates)) {
- ?>
- <div class="alert alert-info">
- <?=htmlspecialchars(_("There are no practice forms available at the moment. Please try again later."))?>
- </div>
- <?php
- }
- else {
- ?>
- <div class="list-group">
- <?php
- foreach($templates as $template) {
- ?>
- <a class="list-group-item list-group-item-action" href="/account/practice/<?=$template->id?>">
- <?=sprintf(htmlspecialchars(_("Practice Form #%d")), $template->id)?>
- </a>
- <?php
- }
- ?>
- </div>
- <?php
- }
- ?>
- </div>
|