Explorar o código

Show template name in practice form select view

Alan Lam %!s(int64=7) %!d(string=hai) anos
pai
achega
ba9a3ffd15
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      views/practice_template_select.php

+ 2 - 2
views/practice_template_select.php

@@ -17,7 +17,7 @@
 		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)?>
+				<?=sprintf(htmlspecialchars(__("Practice %s")), $template->name)?>
 			</a>
 			<?php
 		}
@@ -26,4 +26,4 @@
 		<?php
 	}
 	?>
-</div>
+</div>