2024-05-30 11:43:50 +00:00
|
|
|
<form hx-post={{ .hxPostUrl }} hx-swap="outerHTML">
|
2024-05-28 19:19:30 +00:00
|
|
|
<input type="hidden" name="postId" value="{{.postId}}">
|
2024-05-29 08:04:10 +00:00
|
|
|
<div class="emoji-buttons-container">
|
2024-05-29 14:55:49 +00:00
|
|
|
{{ range .results }}
|
|
|
|
<button name="emojiInput" value={{ .Emoji }} type="submit" class="emoji-button">{{ .Emoji }} {{ if gt .TotalCount 0 }} {{ .TotalCount }} {{ end }}</button>
|
|
|
|
{{ end }}
|
2024-05-29 08:04:10 +00:00
|
|
|
</div>
|
2024-05-28 17:17:30 +00:00
|
|
|
</form>
|
2024-05-28 19:19:30 +00:00
|
|
|
<p>{{.error}}</p>
|
2024-05-28 17:17:30 +00:00
|
|
|
|