Bladeren bron

Show template name in practice form select view

Alan Lam 7 jaren geleden
bovenliggende
commit
ba9a3ffd15
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      views/practice_template_select.php

+ 2 - 2
views/practice_template_select.php

@@ -17,7 +17,7 @@
 		foreach($templates as $template) {
 		foreach($templates as $template) {
 			?>
 			?>
 			<a class="list-group-item list-group-item-action" href="/account/practice/<?=$template->id?>">
 			<a class="list-group-item list-group-item-action" href="/account/practice/<?=$template->id?>">
-				<?=sprintf(htmlspecialchars(__("Practice Form #%d")), $template->id)?>
+				<?=sprintf(htmlspecialchars(__("Practice %s")), $template->name)?>
 			</a>
 			</a>
 			<?php
 			<?php
 		}
 		}
@@ -26,4 +26,4 @@
 		<?php
 		<?php
 	}
 	}
 	?>
 	?>
-</div>
+</div>