<?php
declare(strict_types=1);

$route_name_demo = "app/home";
$method_name_demo_post = "name_demo_post";
?>

<br/><br/>
<form method="post" action="<?= \tts\misc::get_url($route_name_demo, $method_name_demo_post) ?>">
    <label for="fname">First Name: <input type="text" id="fname" name="first_name" size="15" /></label><br/>
    <label for="lname">Last Name: <input type="text" id="lname" name="last_name" size="15" /></label><br/>
    <label for="age">Age: <input type="text" id="age" name="age" size="2" maxlength="2" /></label><br/>
    <input type="submit" />
</form>

<br>
<hr>

<a href="<?= \tts\misc::get_url("app/home", "index") ?>">Back to Main</a>