shortr/views/submit.templ
2024-09-12 21:59:49 +03:00

14 lines
290 B
Plaintext

package views
templ Submission(url, baseurl string){
@Base() {
<h1>Your url is: <code>{baseurl + "/" + url}</code></h1>
<form action="/stats" method="post">
<input type="hidden" id="id" name="id" value={url}>
<button type="submit">Stats</button>
</form>
}
}