url_shortiner/views/index.html
2024-02-01 16:39:37 +02:00

28 lines
418 B
HTML

{{define "head"}}
<style>
</style>
{{end}}
{{define "content"}}
<p>
<form method="POST" class="form-inline">
<input
type="url"
name="url"
class="form-control mb-2 mr-sm-2 border-success"
/>
<input
type="submit"
value="Trumpink nūruoda"
class="btn btn-sm btn-success mb-2"
/>
</form>
{{if .shortUrl}}
<b>{{ .shortUrl }}</b>
{{end}}
</p>
{{end}}