9 lines
307 B
Cheetah
9 lines
307 B
Cheetah
<form hx-post="http://localhost:8000/forms/emoji/post" hx-swap="outerHTML">
|
|
<input type="hidden" name="postId" value="{{.postId}}">
|
|
{{ range .results }}
|
|
<button name="emojiInput" value="{{ .Emoji }}" type="submit" class="text-lg">{{ .Emoji }} {{ .TotalCount }}</button>
|
|
{{ end }}
|
|
</form>
|
|
<p>{{.error}}</p>
|
|
|