<html>
    <meta charset="utf-8">
    <head>An Example Form</head>
    <body>
        <form action="/example_form" method="post">
            <p>
            Say something: <input name="user_input" type="text" /><br />
            [% IF result %]
                <br />You wrote: [% result %]
            [% END %]
            <br />
            <br />
            <input type="submit" />
            </p>
        </form>
    </body>
</html>