mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-12-22 19:33:33 +02:00
Show emojis in poll options
This commit is contained in:
parent
87e31dbd66
commit
17f02deff7
1 changed files with 2 additions and 2 deletions
|
@ -139,12 +139,12 @@
|
|||
{{range $i, $o := .Poll.Options}}
|
||||
<div class="poll-option">
|
||||
{{if (or $s.Poll.Expired $s.Poll.Voted)}}
|
||||
<div> {{$o.Title}} - {{$o.VotesCount}} votes </div>
|
||||
<div> {{EmojiFilter $o.Title $s.Emojis}} - {{$o.VotesCount}} votes </div>
|
||||
{{else}}
|
||||
<input type="{{if $s.Poll.Multiple}}checkbox{{else}}radio{{end}}" name="choices"
|
||||
id="poll-{{$s.ID}}-{{$i}}" value="{{$i}}">
|
||||
<label for="poll-{{$s.ID}}-{{$i}}">
|
||||
{{$o.Title}}
|
||||
{{EmojiFilter $o.Title $s.Emojis}}
|
||||
</label>
|
||||
{{end}}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue