Hyperlink-Redirect/templates/index.tt
2023-10-07 15:15:55 -04:00

13 lines
400 B
Plaintext

[% INCLUDE 'header'
title = 'Create new hyperlink' %]
[% IF hyperlink %]
<p>Your hyperlink is: <a href="[% hyperlink %]">[% hyperlink %]</a></p>
[% END %]
<form method="post">
<label for="hyperlink">Hyperlink</label>
<input id="hyperlink" name="hyperlink" type="text" minlength="4"
maxlength="2097152" required>
<button type="submit">Process</button>
</form>
[% INCLUDE 'footer' %]