shortr/views/submit.templ

14 lines
290 B
Plaintext
Raw Normal View History

2024-09-11 17:58:42 +03:00
package views
2024-09-12 21:59:49 +03:00
templ Submission(url, baseurl string){
2024-09-11 17:58:42 +03:00
@Base() {
2024-09-12 21:59:49 +03:00
<h1>Your url is: <code>{baseurl + "/" + url}</code></h1>
2024-09-11 17:58:42 +03:00
<form action="/stats" method="post">
<input type="hidden" id="id" name="id" value={url}>
<button type="submit">Stats</button>
</form>
}
}